3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array('tittle' => 'Val_test-); var_dump(json_encode($x, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected ''Val_test-);' (T_ENCAPSED_AND_WHITESPACE) in /in/omgbt on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/omgbt on line 3
Process exited with code 255.