. is_long() & is_integer() is now an alias of is_int(). (Kalle)
. Implemented FR #55467 (phpinfo: PHP Variables with $ and single quotes). (Kalle)
. Fixed bug #55415 (php_info produces invalid anchor names). (Kalle, Johannes)
+ . Added ?? operator. (Andrea)
+ . Added \u{xxxxx} Unicode Codepoint Escape Syntax. (Andrea)
- Date:
. Fixed day_of_week function as it could sometimes return negative values
https://wiki.php.net/rfc/uniform_variable_syntax#semantic_differences_in_existing_syntax
. The global keyword now only accepts simple variables. See details in:
https://wiki.php.net/rfc/uniform_variable_syntax#global_keyword_takes_only_simple_variables
- . Added \u{xxxxxx} Unicode Codepoint Escape Syntax for double-quoted strings
- and heredocs. While \u does not not become a syntax error, so existing
- strings like "\u202e" will be unchanged, \u{ followed by an invalid sequence
- will now error.
+ . The addition of Unicode Codepoint Escape Syntax for double-quoted strings
+ and heredocs means that \u{ followed by an invalid sequence will now error.
+ However, \u without a following { is unaffected, so "\u202e" won't error and
+ will work the same as before.
- DBA
. dba_delete() now returns false if the key was not found for the inifile
(RFC: https://wiki.php.net/rfc/isset_ternary)
. Support for strings with length >= 2^31 bytes in 64 bit builds
. Closure::call() method added
+ . Added \u{xxxxxx} Unicode Codepoint Escape Syntax for double-quoted strings
+ and heredocs.
- Standard
. intdiv() function for integer division added.