3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(0,18,19); $filtered = array_filter($arr, function($var){return !is_null($var);} ); print_r($filtered);
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.3.0rc3
Array ( [0] => 0 [1] => 18 [2] => 19 )