3v4l.org

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

preferences:
41.67 ms | 402 KiB | 5 Q