3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('/tag/', '/foo/', '/category/', '/erik/'); foreach($a as $b) { if (strpos($b,'/tag/') !== false) { echo 'true'; } }
based on 5EkOU
Output for 4.3.0 - 7.1.0
true