summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorLevi Morrison <levim@php.net>2020-08-03 08:04:14 -0600
committerLevi Morrison <levim@php.net>2020-08-03 08:04:48 -0600
commit9b975fe98e88c3fd5c41fe6b209b715cf190887a (patch)
treef8f26de2edb34d824c31680ad17f3030658ee430 /UPGRADING
parentb7f281f09aa3805e24056eea7078590d779604f2 (diff)
parent853eb8373fa6e29454efa27d6a9567a7e2fe0a27 (diff)
downloadphp-git-9b975fe98e88c3fd5c41fe6b209b715cf190887a.tar.gz
Merge branch 'levim/assert-throw'
This changes assert.exception to default to 1, or on by default. Closes GH-5925.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 6410708bcf..78eac70d71 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.