- substr: documentation ( source)
- var_dump: documentation ( source)
- strpos: documentation ( source)
<?php
for( $i = 0; $i < 10000; $i++ ) {
$string = "Barry Kooij is a pwnerboy";
$strpos = strpos( $string, "pwn" );
}
var_dump( substr( $stristr, $strpos ) );