mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
The fallback for undefined constants is removed as of PHP 8 (#795)
This commit is contained in:
parent
48f0bac7fd
commit
a8b8d435a7
1 changed files with 6 additions and 3 deletions
|
@ -617,9 +617,12 @@ echo $foo[bar];
|
|||
</para>
|
||||
<warning>
|
||||
<simpara>
|
||||
The fallback to treat an undefined constant as bare string is deprecated as
|
||||
of PHP 7.2.0, and issues an error of level <constant>E_WARNING</constant>.
|
||||
Formerly, an error of level <constant>E_NOTICE</constant> has been issued.
|
||||
The fallback to treat an undefined constant as bare string issues an error
|
||||
of level <constant>E_NOTICE</constant>.
|
||||
This has been deprecated as of PHP 7.2.0, and issues an error
|
||||
of level <constant>E_WARNING</constant>.
|
||||
As of PHP 8.0.0, it has been removed and throws an
|
||||
<classname>Error</classname> exception.
|
||||
</simpara>
|
||||
</warning>
|
||||
|
||||
|
|
Loading…
Reference in a new issue