com php-src: 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: UPGRADING
| From: | Ferenc Kovacs | Date: | Mon, 18 Aug 2014 14:59:03 +0000 |
| Subject: | com php-src: 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: UPGRADING |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80580@lists.php.net to get a copy of this message | ||
Commit: 003c2c1005c0ae980f4cf507c925d859368a4563
Author: Ferenc Kovacs <tyrael@php.net> Mon, 18 Aug 2014 16:59:03 +0200
Parents: f1d0e50ea8915a18ab5bf24402b787c35552e162
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=003c2c1005c0ae980f4cf507c925d859368a4563
Log:
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
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index f479e0d..7e490de 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.