3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $newstring = 'xartist_type_id = x AND id IN (x) AND virtual = x'; $pos = strpos($newstring, 'x', 2); // $pos = 7, not 0 echo $pos;
Output for 4.3.0 - 7.1.0
18