3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('lol wut', 'value'); $obj = new StdClass; $obj->{'my prop'} = 'value'; var_dump($obj->{'my prop'}, {'lol wut'});
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected '{' in /in/LG3S2 on line 9
Process exited with code 255.