summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorLevi Morrison <levim@php.net>2020-08-02 13:34:53 -0600
committerLevi Morrison <levim@php.net>2020-08-02 13:39:35 -0600
commit853eb8373fa6e29454efa27d6a9567a7e2fe0a27 (patch)
tree4070a73a64fa8cc8642f4f1fc51da8e8803c3294 /UPGRADING
parent00743f3faed704754af34f482ca7540e560a54b7 (diff)
downloadphp-git-853eb8373fa6e29454efa27d6a9567a7e2fe0a27.tar.gz
Default assert.exception to 1
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index d4ddcede72..b1c722c4a4 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -21,6 +21,8 @@ PHP 8.0 UPGRADE NOTES
========================================
- Core:
+ . Assertion failures now throw by default. If the old behavior is desired,
+ then set `assert.exception=0` in INI settings.
. 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.