#
6c98024f |
| 16-Apr-2015 |
Nikita Popov |
Drop unused is_self member
|
#
dc764bf6 |
| 15-Apr-2015 |
Nikita Popov |
Use object apply count in var_dump / print_r Instead of using the array apply count on the debug_info array, use the object apply count for recursion detection when dumping. This han
Use object apply count in var_dump / print_r Instead of using the array apply count on the debug_info array, use the object apply count for recursion detection when dumping. This handles recursion in a more generic way and does not require each debug_info handler to deal with this. This allows returning a temporary debug_info array, instead of having to store it in the object (thus delaying destruction of the values). Switch SPL debug_info handlers to use a temporary array.
show more ...
|
#
eed18f0e |
| 15-Apr-2015 |
Nikita Popov |
Return null on zpp failure in Array::exchangeArray() Method was still returning a value despite zpp failing previously...
|
#
e10be0d0 |
| 15-Apr-2015 |
Nikita Popov |
Remove unnecessary retval members in SPL This is what the rv params are for. Avoid holding onto values longer than necessary.
|
Revision tags: php-5.6.8, php-5.5.24, php-5.4.40 |
|
#
2b6a568d |
| 09-Apr-2015 |
Dmitry Stogov |
Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array wa
Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array was modified outside object and internal position is no longer valid" hack.
show more ...
|
#
f23f7dfe |
| 08-Apr-2015 |
Xinchen Hui |
Use new macros
|
#
122d7596 |
| 02-Apr-2015 |
Nikita Popov |
Always throw TypeException on throwing zpp failures Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning,
Always throw TypeException on throwing zpp failures Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
show more ...
|
#
dcaa7954 |
| 03-Apr-2015 |
Dmitry Stogov |
Don't relay on reference-counter when parameter expected to be a reference, but value given.
|
Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39 |
|
#
8d003858 |
| 15-Mar-2015 |
Nikita Popov |
Reclassify E_STRICT notices Per RFC https://wiki.php.net/rfc/reclassify_e_strict While reviewing this, found that there are still three E_STRICTs left in libraries - need to dis
Reclassify E_STRICT notices Per RFC https://wiki.php.net/rfc/reclassify_e_strict While reviewing this, found that there are still three E_STRICTs left in libraries - need to discuss those.
show more ...
|
#
2b42d719 |
| 13-Mar-2015 |
Dmitry Stogov |
Changed HashTable layout: Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro. Hash slotas are allocated together with Buckets (b
Changed HashTable layout: Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro. Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h) Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit). HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.
show more ...
|
#
86336856 |
| 12-Mar-2015 |
Dmitry Stogov |
Use specialized macro for string zval creation
|
Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38 |
|
#
b73fa1fa |
| 14-Feb-2015 |
Xinchen Hui |
Fixed build on windows
|
#
e10e151e |
| 13-Feb-2015 |
Dmitry Stogov |
Merged zend_array and HashTable into the single data structure. Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed t
Merged zend_array and HashTable into the single data structure. Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
show more ...
|
Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1 |
|
#
9e70d767 |
| 04-Feb-2015 |
Dmitry Stogov |
Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
|
Revision tags: php-5.5.21, php-5.6.5, php-5.4.37 |
|
#
fc33f52d |
| 15-Jan-2015 |
Xinchen Hui |
bump year
|
#
0579e827 |
| 15-Jan-2015 |
Xinchen Hui |
bump year
|
#
73c1be26 |
| 15-Jan-2015 |
Xinchen Hui |
Bump year
|
Revision tags: php-5.5.21RC1, php-5.6.5RC1 |
|
#
b7a7b1a6 |
| 03-Jan-2015 |
Stanislav Malyshev |
trailing whitespace removal
|
#
1266515e |
| 05-Jan-2015 |
Nikita Popov |
Fix uses of zval_add_ref and add comment on usage zval_add_ref should be used as a copy ctor, after the value was already copied. In particular when used with hash insertions, i
Fix uses of zval_add_ref and add comment on usage zval_add_ref should be used as a copy ctor, after the value was already copied. In particular when used with hash insertions, it should be applied to the return value of the insert function.
show more ...
|
#
2d212b42 |
| 23-Dec-2014 |
Nikita Popov |
Drop duplicate arg from hash_get_current_key_ex
|
#
c24125e2 |
| 22-Dec-2014 |
Xinchen Hui |
Micro optimization
|
Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4 |
|
#
bdeb220f |
| 13-Dec-2014 |
Anatol Belski |
first shot remove TSRMLS_* things
|
Revision tags: php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34 |
|
#
43f1c94d |
| 09-Oct-2014 |
Nikita Popov |
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages
|
Revision tags: php-5.5.18RC1, php-5.6.1, php-5.6.2 |
|
#
e33f3d3b |
| 20-Sep-2014 |
Nikita Popov |
Move smart_str implementation into Zend/ So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just m
Move smart_str implementation into Zend/ So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
show more ...
|
#
d0cb7153 |
| 19-Sep-2014 |
Johannes Schlüter |
s/PHP 5/PHP 7/
|