summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-08-18 16:59:03 +0200
committerFerenc Kovacs <tyrael@php.net>2014-08-18 16:59:03 +0200
commit003c2c1005c0ae980f4cf507c925d859368a4563 (patch)
tree970a026f3ade8b5771500b6a3858659662007fa8 /UPGRADING
parentf1d0e50ea8915a18ab5bf24402b787c35552e162 (diff)
downloadphp-git-003c2c1005c0ae980f4cf507c925d859368a4563.tar.gz
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
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING7
1 files changed, 7 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index f479e0d2ae..7e490dee81 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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.