1.2.1267. Unicode Escape Syntax¶
Usage of the Unicode Escape syntax, with the \u{xxxxx}
format, available since PHP 7.0.
<?php
// Produce an elephant icon in PHP 7.0+
echo "\u{1F418}";
// Produce the raw sequence in PHP 5.0
echo "\u{1F418}";
?>
See also PHP RFC: Unicode Codepoint Escape Syntax, Code point and Unicode.
1.2.1267.2. Connex PHP features¶
1.2.1267.2.1. Specs¶
Short name |
Php/UnicodeEscapeSyntax |
Rulesets |
All, Changed Behavior, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 |
Exakat since |
0.8.4 |
PHP Version |
With PHP 7.0 and more recent |
Severity |
Major |
Time To Fix |
Slow (1 hour) |
Precision |
High |
Available in |