3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $results = { "total": { "good": 9, "bad": 0, "unanswered": 0, "score": 18 }, "subjects": { "Mathematic": { "good": 3, "bad": 0, "unanswered": 0, "score": 3 }, "English": { "good": 3, "bad": 0, "unanswered": 0, "score": 3 }, "General Knowledge": { "good": 3, "bad": 0, "unanswered": 0, "score": 12 } } };
Output for 5.6.38 - 7.2.11
Parse error: syntax error, unexpected '{' in /in/JI5JY on line 3
Process exited with code 255.