3v4l.org

run code in 300+ PHP versions simultaneously
<?hh $string = ""; $newstring = ""; for ($i=0;$i<10240;$i++) { echo "Iteration $i\n"; $string .= 'x'; $newstring = $string; $newstring = preg_replace("/(x)+/","",$newstring); echo "$string - $newstring \n"; }

This is an error 404

There are `0` results


preferences:
145.2 ms | 1399 KiB | 7 Q