3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( array( array(1), array(), ), array(1), array(), array(2), ); $c = function($a) use (&$c) { return is_array($a) ? array_filter(array_map($c, $a), function ($b) { return !(is_array($b) && empty($b)); ) : $a; }; var_dump($c($a));
Output for 5.3.0 - 5.5.11
Parse error: syntax error, unexpected ')' in /in/G5ooG on line 14
Process exited with code 255.