summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-02 17:34:07 +0200
committerRemi Collet <remi@php.net>2020-10-03 07:27:08 +0200
commit107962208a19d8b6dc1a190cb25fc37614411e71 (patch)
tree28d9e3dbb26d641f3847d190b13eb87179be94c6 /UPGRADING
parent54435c9b43fb568590b223a24dcf582f1292a5d8 (diff)
downloadphp-git-107962208a19d8b6dc1a190cb25fc37614411e71.tar.gz
add note about is_callable change
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 0c15b1ecbe..09a317da75 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -27,6 +27,8 @@ PHP 8.0 UPGRADE NOTES
. Methods with the same name as the class are no longer interpreted as
constructors. The __construct() method should be used instead.
. Removed ability to call non-static methods statically.
+ Thus `is_callable` will fail when checking for a non-static method with a
+ classname (must check with an object instance).
. Removed (unset) cast.
. Removed track_errors ini directive. This means that $php_errormsg is no
longer available. The error_get_last() function may be used instead.