#
1b88c85c |
| 27-Apr-2021 |
Stanislav Malyshev |
Revert "Fix #80852: Stack-overflow when json_encode()'ing SimpleXMLElement" Sorry, this solution seems to have BC breaks, will need to look for better one. This reverts commit 9
Revert "Fix #80852: Stack-overflow when json_encode()'ing SimpleXMLElement" Sorry, this solution seems to have BC breaks, will need to look for better one. This reverts commit 9f7e8b777cb3e8aac53e677f3152af18413ab672.
show more ...
|
#
9f7e8b77 |
| 11-Mar-2021 |
Christoph M. Becker |
Fix #80852: Stack-overflow when json_encode()'ing SimpleXMLElement We ignore `XML_ENTITY_DECL` nodes when getting the hash of the properties of a `SimpleXMLElement`.
|
#
54148fd6 |
| 01-May-2020 |
Christoph M. Becker |
Fix #79528: Different object of the same xml between 7.4.5 and 7.4.4 Revert "Fix #61597: SXE properties may lack attributes and content" This reverts commit 7c081db885756d7b176a55b9
Fix #79528: Different object of the same xml between 7.4.5 and 7.4.4 Revert "Fix #61597: SXE properties may lack attributes and content" This reverts commit 7c081db885756d7b176a55b90b8746f664d1e042.
show more ...
|
#
7c081db8 |
| 07-Mar-2020 |
Christoph M. Becker |
Fix #61597: SXE properties may lack attributes and content We must not treat a node as string if it has attributes, unless it is an entity declaration which is always treated as string b
Fix #61597: SXE properties may lack attributes and content We must not treat a node as string if it has attributes, unless it is an entity declaration which is always treated as string by simplexml.
show more ...
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2 |
|
#
692e5d5c |
| 07-Aug-2018 |
Christoph M. Becker |
Fix #76712: Assignment of empty string creates extraneous text node We work around this peculiarity of libxml by using xmlNodeSetContent(), which does not exhibit this behavior. This al
Fix #76712: Assignment of empty string creates extraneous text node We work around this peculiarity of libxml by using xmlNodeSetContent(), which does not exhibit this behavior. This also saves us from manually calculating the string length.
show more ...
|
Revision tags: php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1 |
|
#
a5e80b22 |
| 25-Jul-2018 |
Peter Kokot |
Fix typos in code comments
|
Revision tags: php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8 |
|
#
7d4e18b0 |
| 12-Jul-2018 |
Dmitry Stogov |
Improved user iterator implementation to reduce zend_class_entry memory consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.
|
Revision tags: php-7.1.20RC1 |
|
#
4a475a49 |
| 04-Jul-2018 |
Dmitry Stogov |
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occur
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
show more ...
|
Revision tags: php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1 |
|
#
07257a59 |
| 02-Jun-2018 |
Peter Kokot |
Normalize SimpleXML phpinfo output
|
#
f2b4ec4b |
| 31-May-2018 |
Dmitry Stogov |
Export standard object handlers, to avoid indirect access
|
#
5eb1f92f |
| 28-May-2018 |
Dmitry Stogov |
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
|
Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16 |
|
#
1af60a2a |
| 14-Mar-2018 |
Dmitry Stogov |
Keep initialized object_handlers structures in read-only memory.
|
Revision tags: php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34 |
|
#
ef255c9f |
| 27-Feb-2018 |
Christoph M. Becker |
Revert "[ci skip] Add missing return types to protos" This reverts commit a2c7c46d5ef5b9fc945d7b655d31d5c9f1a72d34. Since apparently there have been some mistakes in this commit, an
Revert "[ci skip] Add missing return types to protos" This reverts commit a2c7c46d5ef5b9fc945d7b655d31d5c9f1a72d34. Since apparently there have been some mistakes in this commit, and it's not clear yet how to solve them, we're reverting for now.
show more ...
|
Revision tags: php-7.2.3, php-7.0.28 |
|
#
a2c7c46d |
| 23-Feb-2018 |
Gabriel Caruso |
[ci skip] Add missing return types to protos
|
#
ede663f3 |
| 19-Feb-2018 |
Nikita Popov |
Convert iterator by reference errors to exceptions I'm using RuntimeException in SPL, because other SPL classes that throw this error used it. Error is used for everything else, because
Convert iterator by reference errors to exceptions I'm using RuntimeException in SPL, because other SPL classes that throw this error used it. Error is used for everything else, because that's what core does.
show more ...
|
Revision tags: php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2 |
|
#
f7f790fc |
| 17-Jan-2018 |
Dmitry Stogov |
Scalar types don't have reference counter
|
Revision tags: php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27 |
|
#
a6519d05 |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
7a7ec01a |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
ccd4716e |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
b2b2b437 |
| 25-Dec-2017 |
Nikita Popov |
Add _IS_NUMBER as cast_object() target type convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an
Add _IS_NUMBER as cast_object() target type convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an integer or floating point number, whichever is more appropriate. Previously convert_scalar_to_number() unconditionally converted objects to integers instead. Fixes bug #53033. Fixes bug #54973. Fixes bug #73108.
show more ...
|
#
2667ddc4 |
| 25-Dec-2017 |
Nikita Popov |
Remove unnecessary readobj==writeobj checks This can no longer be the case since PHP 7. The writeobj must always point to a different zval.
|
#
9e709e2f |
| 14-Dec-2017 |
Dmitry Stogov |
Move constants into read-only data segment
|
#
1db84022 |
| 14-Dec-2017 |
Dmitry Stogov |
Move zend_object_iterator_funcs structures into read-only data segment
|
Revision tags: php-7.2.1RC1 |
|
#
6a9d2b21 |
| 07-Dec-2017 |
Dmitry Stogov |
Cleanup type conversion
|
Revision tags: php-7.1.13RC1, php-7.0.27RC1, php-7.2.0 |
|
#
b72b1a4e |
| 25-Nov-2017 |
Nikita Popov |
Add zend_object_alloc() API Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure w
Add zend_object_alloc() API Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter.
show more ...
|