diff --git a/NEWS b/NEWS index c348efe9b41..3b042bf3626 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/UPGRADING b/UPGRADING index 0abe703ae87..5e2c33c7c6f 100644 --- a/UPGRADING +++ b/UPGRADING @@ -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.