3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D'; var_dump(json_decode($text, true)); var_dump(html_entity_decode($text, ENT_COMPAT));
based on Q25mu
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc6
NULL string(39) "\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D"