3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = {"role" : "admin" , "name" : "ammar"}; print_r($arr);
Output for 7.1.7
Parse error: syntax error, unexpected '{' in /in/mqZSr on line 2
Process exited with code 255.