Skip to content

Commit

Permalink
add note about is_callable change
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Oct 3, 2020
1 parent 54435c9 commit 1079622
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1079622

Please sign in to comment.