3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_values(array_filter([150, null, 200]))); var_dump(array_filter([150, null, 210]));
based on lfpqh
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
array(2) { [0]=> int(150) [1]=> int(200) } array(2) { [0]=> int(150) [2]=> int(210) }