3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? echo json_encode( ["foo","äöüß","new line", "a tab", "Some markup with a <script>tag</script>"]);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
["foo","\u00e4\u00f6\u00fc\u00df","new\nline","a\ttab","Some markup with a <script>tag<\/script>"]