3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array('demo'); $array2 = array("demo", "b" => array("1")); $result = in_array($array1, $array2); print_r($result);
based on E1t8U
Output for 4.3.0 - 7.2.0