3v4l.org

run code in 300+ PHP versions simultaneously
<?php for( $i = 0; $i < 10000; $i++ ) { $string = "Barry Kooij is a pwnerboy"; $strpos = strpos( $string, "pwn" ); } var_dump( substr( $stristr, $strpos ) );

preferences:
39.59 ms | 402 KiB | 5 Q