3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( array("id" => 1, "value" => 1), array("id" => 2, "value" => null), array("id" => 3, "value" => 3), array("id" => 4, "value" => 4), array("id" => 5, "value" => 5), array("id" => 6, "value" => 6) ); var_dump(in_array(null, $array));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false)