Changes between Initial Version and Version 1 of Ticket #52821, comment 3
- Timestamp:
- 03/15/2021 09:19:28 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52821, comment 3
initial v1 8 8 > Unquoted strings that are non-existent global constants are taken to be strings of themselves. This behaviour used to emit an `E_NOTICE`, but will now emit an `E_WARNING`. In the next major version of PHP, an Error exception will be thrown instead. 9 9 10 This was implemented in PHP 8.0, see [https://www.php.net/manual/en/migration80.incompatible.php Backward Incompatible Changes]:10 This was implemented as part of [https://www.php.net/manual/en/migration80.incompatible.php Backward Incompatible Changes in PHP 8.0]: 11 11 > Attempting to access unqualified constants which are undefined. Previously, unqualified constant accesses resulted in a warning and were interpreted as strings.