3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "jackson heights, queens, new york, us"; $word = explode(',', $string); if(strpos($string, $word[1]) === false){ echo "not found"; } else { echo "found"; }
Output for 5.3.7 - 7.2.0
found