Updated NEWS and UPGRADING

PHP RFC: Catchable "call to a member function of a non-object"
This commit is contained in:
Tjerk Meesters 2014-10-06 05:54:32 +08:00
parent 82523c0752
commit 35314a416a
2 changed files with 4 additions and 0 deletions

2
NEWS
View file

@ -12,6 +12,8 @@ PHP NEWS
. Added Closure::apply() method. (Andrea)
. Implemented FR #38409 (parse_ini_file() looses the type of booleans). (Tjerk)
. Fixed #67959 (Segfault when calling phpversion('spl')). (Florian)
. Implemented the RFC `Catchable "Call to a member function bar() on a
non-object"` (Timm)
- Reflection
. Fixed inheritance chain of Reflector interface (Tjerk)

View file

@ -128,6 +128,8 @@ PHP X.Y UPGRADE NOTES
- Core
. Instead of being undefined and platform-dependant, NaN and Infinity will
always be zero when casted to integer.
. Calling a method on a non-object no longer raises a fatal error; see
also: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
- Standard
. call_user_method() and call_user_method_array() no longer exists.