3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define( TRUE, false ); $a = array( 'a', 'b' ); $d = array( 'c', 'b' ); $c = array( 'a' ); $p = in_array( $c, $a ) && !in_array( $c, $a ); var_dump( $p ); var_dump( TRUE == true );
Output for 4.3.0 - 7.1.0
bool(false) bool(true)