3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("\x{}", "\xZZ", "\xg", "\u", "\u99", "\u{99}");
based on YkLMN
Output for 7.0.0 - 7.2.0
string(4) "\x{}" string(4) "\xZZ" string(3) "\xg" string(2) "\u" string(4) "\u99" string(2) "™"
Output for 5.3.18 - 5.6.28
string(4) "\x{}" string(4) "\xZZ" string(3) "\xg" string(2) "\u" string(4) "\u99" string(6) "\u{99}"