3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $volgArray[] = 'audi'; $volgArray[] = 'vw'; $volgArray[] = 'volvo'; print_r($volgArray); if (in_array("vw", $volgArray)) { echo "Match found"; } else { echo "Match not found"; }
based on ii6sq
Output for 5.6.38 - 7.3.0rc3
Array ( [0] => audi [1] => vw [2] => volvo ) Match found