3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = array_reduce(array('date' => {'a':1,'b':2}), function ($cur, $x) { $cur[$x] = $x; return $cur; }, array()); var_dump($result);
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '{' in /in/mnJDe on line 4
Process exited with code 255.