3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array(0,null,3,null); print_r(array_filter($array, 'strlen')); print_r($array );
Output for 4.3.0 - 7.2.0
Array ( [0] => 0 [2] => 3 ) Array ( [0] => 0 [1] => [2] => 3 [3] => )