3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode("\"one\\ntwo\"")); var_dump(json_decode('\"one\ntwo\"'));
based on EmGDf
Output for 5.6.0 - 7.3.0beta1
string(7) "one two" NULL