3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $A = array('X', 'Y','Z'); $B = 'X'; $C = array('Y', 'Z'); if(in_array($C, $A)){ echo 'TRUEが返ります。'; }
based on 1BneS
Output for 4.3.0 - 7.1.0