Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52821, comment 3


Ignore:
Timestamp:
03/15/2021 09:19:28 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52821, comment 3

    initial v1  
    88> 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.
    99
    10 This was implemented in PHP 8.0, see [https://www.php.net/manual/en/migration80.incompatible.php Backward Incompatible Changes]:
     10This was implemented as part of [https://www.php.net/manual/en/migration80.incompatible.php Backward Incompatible Changes in PHP 8.0]:
    1111> Attempting to access unqualified constants which are undefined. Previously, unqualified constant accesses resulted in a warning and were interpreted as strings.