Dmitry Stogov
|
3f6f0d5a70
|
Simplified and optimized ZEND_HANDLE_NUMERIC()
|
2014-06-03 13:10:42 +04:00 |
|
Dmitry Stogov
|
b3b616cf7e
|
Introduced immutable arrays. They don't need to be copyed and may be used directly from SHM.
|
2014-05-29 18:21:56 +04:00 |
|
Dmitry Stogov
|
05d0df4706
|
Use new zend_hash API
|
2014-05-26 21:29:35 +04:00 |
|
Dmitry Stogov
|
40256e0f9c
|
Use specialized functions instead of macros
|
2014-05-26 17:16:16 +04:00 |
|
Dmitry Stogov
|
9eb89dddb1
|
Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.
|
2014-05-23 20:37:53 +04:00 |
|
Dmitry Stogov
|
21da8af578
|
Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.
|
2014-05-19 01:20:56 +04:00 |
|
Dmitry Stogov
|
d07c1941ec
|
Use new hash iteration API and avoid old zend_hash_update_current_key() hack
|
2014-05-19 00:50:00 +04:00 |
|
Nikita Popov
|
b30c7fe263
|
Port JSON
|
2014-05-05 01:00:59 +02:00 |
|
Dmitry Stogov
|
42a33085c8
|
Avoid useless allocations
|
2014-04-25 11:29:18 +04:00 |
|
Dmitry Stogov
|
b1ff152782
|
Reimplement strtr()
|
2014-04-24 19:14:29 +04:00 |
|
Dmitry Stogov
|
5864ce8a44
|
Fixed compilation warnings
|
2014-04-22 17:46:34 +04:00 |
|
Dmitry Stogov
|
72c287bd23
|
Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
|
2014-04-21 18:25:34 +04:00 |
|
Dmitry Stogov
|
f71da39210
|
Use ZEND_HASH_FOEACH_* instead of zend_hash_apply_*
|
2014-04-21 13:55:25 +04:00 |
|
Dmitry Stogov
|
54d9ad53f4
|
More ZEND_HASH_FOREACH_* related changes
|
2014-04-19 00:08:14 +04:00 |
|
Dmitry Stogov
|
7652a977a8
|
Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.
|
2014-04-18 19:18:11 +04:00 |
|
Dmitry Stogov
|
3d17219cd8
|
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
|
2014-04-07 23:14:17 +04:00 |
|
Dmitry Stogov
|
66b3b907c2
|
Cleanup
|
2014-04-07 16:50:41 +04:00 |
|
Dmitry Stogov
|
e2e99b0670
|
Typo
|
2014-03-27 11:40:59 +04:00 |
|
Dmitry Stogov
|
f3272bf7ac
|
Fixed extract() support IS_INDIRECT
|
2014-03-26 22:52:28 +04:00 |
|
Dmitry Stogov
|
887189ca31
|
Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
|
2014-03-26 18:07:31 +04:00 |
|
Dmitry Stogov
|
62c448ab8b
|
Fixed serialize/unserialize problems
|
2014-03-17 17:23:27 +04:00 |
|
Xinchen Hui
|
c201896125
|
Fixed memory leak while add_mem faile
|
2014-03-15 19:33:36 +08:00 |
|
Xinchen Hui
|
f0168baecf
|
Use better data structures (incomplete)
|
2014-02-16 22:15:54 +08:00 |
|
Dmitry Stogov
|
a52817eb02
|
Use better data structures (incomplete)
|
2014-02-14 14:11:52 +04:00 |
|
Xinchen Hui
|
3f4c877bf7
|
Use better data structures (incomplete)
|
2014-02-11 19:33:18 +08:00 |
|
Dmitry Stogov
|
f4cfaf36e2
|
Use better data structures (incomplete)
|
2014-02-10 10:04:30 +04:00 |
|
Xinchen Hui
|
c081ce628f
|
Bump year
|
2014-01-03 11:08:10 +08:00 |
|
Dmitry Stogov
|
5d25762646
|
Removed unused "pHashFunction" argument in _zend_hash_init() and family (must be 99% source compatible)
|
2013-11-28 18:40:46 +04:00 |
|
Dmitry Stogov
|
aa427a10d4
|
Removed duplicated hash function implementation (100% source compatible)
|
2013-11-28 17:01:10 +04:00 |
|
Johannes Schlüter
|
063e10b275
|
Fix comment
|
2013-07-23 12:41:24 +02:00 |
|
Lajos Veres
|
97637b2a4c
|
backward compatibility
|
2013-07-21 20:09:59 -07:00 |
|
Veres Lajos
|
4749457a49
|
HASH_KEY_NON_EXISTANT fix
|
2013-07-21 20:09:53 -07:00 |
|
Nikita Popov
|
fcc6611de9
|
Add support for non-scalar Iterator keys in foreach
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
|
2013-03-12 17:27:31 +01:00 |
|
Xinchen Hui
|
a666285bc2
|
Happy New Year
|
2013-01-01 16:37:09 +08:00 |
|
Nuno Lopes
|
e6d9cd983b
|
appease MSVC (doesnt like unary minus of unsigned ints)
|
2012-07-08 15:19:41 -04:00 |
|
Nuno Lopes
|
f2bf98a589
|
fix (signed) integer overflow (part of bug #52550
|
2012-07-02 01:31:40 -04:00 |
|
Felipe Pena
|
8775a37559
|
- Year++
|
2012-01-01 13:15:04 +00:00 |
|
Dmitry Stogov
|
e43ff1359e
|
Fixed ZE specific compile warnings (Bug #55629)
|
2011-09-13 13:29:35 +00:00 |
|
Felipe Pena
|
0203cc3d44
|
- Year++
|
2011-01-01 02:17:06 +00:00 |
|
Dmitry Stogov
|
fa3f0bb63f
|
Fixed bug #51008 (Zend/tests/bug45877.phpt fails)
|
2010-10-05 11:28:56 +00:00 |
|
Dmitry Stogov
|
dd5c478be6
|
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
|
2010-04-20 11:05:54 +00:00 |
|
Dmitry Stogov
|
94dd83722b
|
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
|
2010-04-20 10:57:45 +00:00 |
|
Sebastian Bergmann
|
d2281d1dff
|
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
|
2010-01-05 20:46:53 +00:00 |
|
Sara Golemon
|
00a554b4a3
|
MFH(r-1.103) Expand zend_symtable_update_current_key to allow specifying HashPosition
|
2009-05-25 01:18:00 +00:00 |
|
Dmitry Stogov
|
4658d9408b
|
Fixed "-0" parsing and optimized overflow check (Matt)
|
2009-03-24 16:02:50 +00:00 |
|
Dmitry Stogov
|
9f32cb2d39
|
Fixed check for long integer overflow
|
2009-03-19 15:16:10 +00:00 |
|
Dmitry Stogov
|
d3b42700a0
|
Better fix for bug #45877 (smaller and faster)
|
2009-03-18 09:48:55 +00:00 |
|
Matt Wilmas
|
6bb0ac9712
|
MFH: Fixed bug #45877 (Array key '2147483647' left as string)
|
2009-03-18 01:08:12 +00:00 |
|
Sebastian Bergmann
|
08659c2dcd
|
MFH: Bump copyright year, 3 of 3.
|
2008-12-31 11:15:49 +00:00 |
|
Felipe Pena
|
cf7384aa40
|
- MFH: Constness (Added const qualifier to several function parameters)
|
2008-08-12 17:20:25 +00:00 |
|