3v4l.org

run code in 150+ 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 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false)