3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( array("foo" => array()), array("foo" => array(3,2)), array("foo" => array(3)), ); var_dump(array_filter($data, function($value) { return inarray(3,$value['foo'] == 3;) }));
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected ';' in /in/qvSH9 on line 7
Process exited with code 255.