summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--UPGRADING2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c348efe9b4..3b042bf362 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 0abe703ae8..5e2c33c7c6 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.