3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array("a" =>"b", "c"=>"d"); if(isset($a['a'])) echo "hi"; else echo "hello"; $b = array("a","b","c"); if(in_array('a',$b)) echo "hi"; else echo "hello";
Output for 4.3.0 - 7.2.0
hihi