3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=array(2,3,null,0,""); print_r(array_keys($a,null)); echo "\n"; $b=array(2,3,"",0,null); echo array_search(null, $b);
based on D8HnU
Output for 4.3.0 - 7.2.0
Array ( [0] => 2 [1] => 3 [2] => 4 ) 2