History log of /PHP-8.4/ext/simplexml/simplexml.c (Results 126 – 150 of 518)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


Revision tags: php-7.1.12, l
# ccc12b82 16-Nov-2017 Dmitry Stogov

Avoid unnecessary reference-counting on strings.


Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5
# 9cf87aa1 24-Oct-2017 Dmitry Stogov

Avoid HashTable allocations for empty arrays (using zend_empty_array).


Revision tags: php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24
# 44e0b79a 19-Sep-2017 Dmitry Stogov

Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.


Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22
# 3a7b0027 21-Jul-2017 Xinchen Hui

Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# a5e9a73d 12-Oct-2016 Anatol Belski

fix typo

(cherry picked from commit efc1f33b58b0936539ea6ca1de345bd83c7e8f26)


# e7e60851 11-Oct-2016 Stanislav Malyshev

Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()

(cherry picked from commit 96a8cf8e1b5dc1b0c708bb5574e0d6727cc56d9e)
(cherry picked from commit 4ef79370a82d6c92f4e

Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()

(cherry picked from commit 96a8cf8e1b5dc1b0c708bb5574e0d6727cc56d9e)
(cherry picked from commit 4ef79370a82d6c92f4ea0cd462274ba24e007f56)

show more ...


# efc1f33b 12-Oct-2016 Anatol Belski

fix typo


# 4ef79370 11-Oct-2016 Stanislav Malyshev

Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()

(cherry picked from commit 96a8cf8e1b5dc1b0c708bb5574e0d6727cc56d9e)


# 96a8cf8e 11-Oct-2016 Stanislav Malyshev

Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# bbe0cca2 04-Sep-2016 Nikita Popov

Drop SXE_ELEMENT_BY_NAME

Effectively commented out code


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 345b96c4 30-Aug-2016 Nikita Popov

Fix bug #72957

(cherry picked from commit bfd4277008d3bda95ff5b418c60d41d50488d33b)


# bfd42770 30-Aug-2016 Nikita Popov

Fix bug #72957


# 6adb7e0b 30-Aug-2016 Nikita Popov

Followup for bug #72971

Property writes did not respect the namespace either. This is an
incomplete fix in that it only handles the case where an existing
child element is modified,

Followup for bug #72971

Property writes did not respect the namespace either. This is an
incomplete fix in that it only handles the case where an existing
child element is modified, not when a new one is created.

show more ...


# 07cc6a6b 30-Aug-2016 Nikita Popov

Fix bug #72971


12345678910>>...21