3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP $strHaystack='test'; $strNeedle='e'; $numPos=strpos($strHaystack,$strNeedle); if($numPos!=false) print "Found '$strNeedle' at position: $numPos\r\n"; else print "Not Found!\r\n"; ?>

preferences:
63.27 ms | 402 KiB | 5 Q