3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'artist_type_id = ? AND id IN (?) AND virtual = ?'; echo strpos($string, '?', -1);
Output for 7.1.0 - 7.1.7
47
Output for 5.2.5 - 7.0.20
Warning: strpos(): Offset not contained in string in /in/XPZhJ on line 4
Output for 4.3.2 - 5.2.4
Warning: strpos(): Offset not contained in string. in /in/XPZhJ on line 4
Output for 4.3.0 - 4.3.1
Warning: strpos() [http://www.php.net/function.strpos]: Offset not contained in string. in /in/XPZhJ on line 4