3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $one = array( 'bar' => array( 'foo' => 'php', array( 'bar' => TRUE, ), ), ); $two = array( 'bar' => array( 'foo' => TRUE, array( 'bar1' => FALSE, ), ), ); $val_val = array( 'foo' => TRUE, array( 'bar1' => FALSE, ), ); var_dump(in_array($val_val, $one));
Output for 4.3.0 - 7.2.0
bool(false)