3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = json_decode('{"a": "\u000f\u000f?\u001f\u000f\u000e\u000f\u001e\u00c3"})->a; var_dump($str); $str = preg_replace('/[\x00-\x19\x7f]/', '', $str); var_dump($str);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '', $str);' (T_ENCAPSED_AND_WHITESPACE) in /in/khHJd on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[' in /in/khHJd on line 4
Process exited with code 255.