diff --git a/appendices/ini.list.xml b/appendices/ini.list.xml index 9a599eae00f4..f3d09b86ec41 100644 --- a/appendices/ini.list.xml +++ b/appendices/ini.list.xml @@ -75,7 +75,7 @@ assert.quiet_eval "0" PHP_INI_ALL - + Removed as of PHP 8.0.0 assert.warning diff --git a/reference/info/constants.xml b/reference/info/constants.xml index 6c2821cb766a..ab58409a4e9e 100644 --- a/reference/info/constants.xml +++ b/reference/info/constants.xml @@ -239,6 +239,7 @@ assert.quiet_eval Disable error_reporting during assertion expression evaluation. + Removed as of PHP 8.0.0. diff --git a/reference/info/functions/assert.xml b/reference/info/functions/assert.xml index e229096a40d1..30f6a09f034f 100644 --- a/reference/info/functions/assert.xml +++ b/reference/info/functions/assert.xml @@ -172,7 +172,7 @@ Using string as the assertion is - DEPRECATED as of PHP 7.2. + DEPRECATED as of PHP 7.2.0 and REMOVED as of PHP 8.0.0. @@ -224,6 +224,16 @@ + + 8.0.0 + + assert() will no longer evaluate string arguments, instead they will be + treated like any other argument. assert($a == $b) should be used instead of + assert('$a == $b'). The assert.quiet_eval &php.ini; directive and + the ASSERT_QUIET_EVAL constant have also been removed, as they would no longer + have any effect. + + 8.0.0