3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test(array $args = array()) { $foo = null; $bar = null; $baz = null; extract($args); var_dump($foo); var_dump($bar); var_dump($baz); } test(array('foo' => 'foo', 'baz' => 'baz']));
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ']', expecting ')' in /in/FCVFY on line 14
Process exited with code 255.