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, ), ); in_array($val_val, $one);
Output for 4.3.0 - 7.1.0