3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = new stdClass(); $b = 'a'; $o->a = array ( 'foo' => 1, 'bar' => 2 ); unset({$o->$b}['foo']); var_dump($o);
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '{' in /in/l2LgK on line 10
Process exited with code 255.