3v4l.org

run code in 300+ PHP versions simultaneously
<?php $findme = "find me"; $mystring = "find me in my string"; $pos = strpos($mystring, $findme); echo $pos; if ($pos == false) { echo 'not found'; } else { echo 'found'; }

preferences:
35.42 ms | 402 KiB | 5 Q