3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = <<<'EOT' "{ "John": { "status":"Wait" }, "Jennifer": { "status":"Active" }, "James": { "status":"Active", "age":56, "count":10, "progress":0.0029857, "bad":0 } }" EOT; echo $json
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/CJpFL on line 21
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/CJpFL on line 21
Process exited with code 255.