Skip to content
forked from php/php-src

Commit 1079622

Browse files
committed
add note about is_callable change
1 parent 54435c9 commit 1079622

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ PHP 8.0 UPGRADE NOTES
2727
. Methods with the same name as the class are no longer interpreted as
2828
constructors. The __construct() method should be used instead.
2929
. Removed ability to call non-static methods statically.
30+
Thus `is_callable` will fail when checking for a non-static method with a
31+
classname (must check with an object instance).
3032
. Removed (unset) cast.
3133
. Removed track_errors ini directive. This means that $php_errormsg is no
3234
longer available. The error_get_last() function may be used instead.

0 commit comments

Comments
 (0)