mention the changes regarding ReflectionClass::newInstanceWithoutConstructor in UPGRADING

see the discussion on the mailing list and in the pull request for details:
https://github.com/php/php-src/pull/733
This commit is contained in:
Ferenc Kovacs 2014-08-18 16:59:03 +02:00
parent f1d0e50ea8
commit 003c2c1005

View File

@ -232,6 +232,13 @@ PHP 5.6 UPGRADE NOTES
crypto method from the context is used as a fallback if no crypto method is
specified at call-time.
- Reflection:
ReflectionClass::newInstanceWithoutConstructor previously not allowed the
instantiation of any internal class which used custom object storage
(overriding the default create_object handler), this was changed to only
reject the instantiation of such classes if the class is also marked as
final.
- XMLReader:
XMLReader::getAttributeNs and XMLReader::getAttributeNo now return NULL if
the attribute could not be found, just like XMLReader::getAttribute.