3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array( array(), array(1), array(), array(2), ); var_dump(array_filter($a));
Output for 4.3.0 - 7.3.0beta1
array(2) { [1]=> array(1) { [0]=> int(1) } [3]=> array(1) { [0]=> int(2) } }