3v4l.org

run code in 200+ PHP versions simultaneously
<?php $i = 1000; while ($i--) { $foo = isset($_GET['foo']['bar']) ? $_GET['foo']['bar'] : null; }

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.2.60.0000.01416.87
7.2.00.0030.01019.33
7.1.200.0030.01015.92
7.1.100.0000.01118.14
7.1.70.0030.01017.32
7.1.60.0090.01519.25
7.1.50.0100.00717.05
7.1.00.0030.03322.41
7.0.200.0070.00316.86
7.0.140.0070.07021.92
7.0.120.0030.07322.19
7.0.60.0070.08019.92
7.0.50.0100.08017.66
7.0.40.0000.07720.05
7.0.30.0430.05020.04
7.0.20.0170.04319.99
7.0.10.0130.07320.09
7.0.00.0030.04320.32
5.6.280.0000.07321.11
5.6.210.0070.07320.46
5.6.200.0030.08018.11
5.6.190.0030.04320.61
5.6.180.3570.04320.63
5.6.170.0230.04020.44
5.6.160.0070.04320.54
5.6.150.0030.08718.13
5.6.140.0070.04018.21
5.6.130.0070.08318.21
5.6.120.0070.05321.09
5.6.110.0070.08321.11
5.6.100.0070.08720.99
5.6.90.0230.06320.99
5.6.80.0130.05720.36
5.6.70.3270.04020.49
5.5.350.0100.07720.38
5.5.340.0100.05317.93
5.5.330.0130.06720.47
5.5.320.0200.04020.29
5.5.310.0230.08720.33
5.5.300.0000.04717.98
5.5.290.0030.05017.89
5.5.280.0070.07020.88
5.5.270.0130.07720.83
5.5.260.0100.07720.64
5.5.250.0100.04320.55
5.5.240.0030.06320.26
5.4.450.0070.04019.44
5.4.440.0070.06719.51
5.4.430.0130.07019.50
5.4.420.0130.07019.13
5.4.410.0000.04319.00
5.4.400.0070.04719.14
5.4.390.0030.05318.79
5.4.380.0070.04318.92
5.4.370.0070.04718.91
5.4.360.0070.05318.92
5.4.350.0170.04319.14
5.4.340.0030.05019.16
5.4.320.0100.07019.09
5.4.310.0070.03719.00
5.4.300.0070.07718.80
5.4.290.0000.06019.07
5.4.280.0000.05718.92
5.4.270.0130.07019.17
5.4.260.0100.04018.79
5.4.250.0000.04319.07
5.4.240.0100.03719.07
5.4.230.0100.04318.80
5.4.220.0030.04718.77
5.4.210.0070.07719.17
5.4.200.0130.05719.07
5.4.190.0030.06719.14
5.4.180.0030.07018.91
5.4.170.0000.05019.13
5.4.160.0030.06018.89
5.4.150.0000.04719.16
5.4.140.0070.04316.30
5.4.130.0030.07716.36
5.4.120.0230.05016.23
5.4.110.0030.04316.29
5.4.100.0030.07316.24
5.4.90.0030.07016.30
5.4.80.0130.03716.22
5.4.70.0100.04716.25
5.4.60.0030.03716.26
5.4.50.0070.07016.34
5.4.40.0170.04716.26
5.4.30.0100.03316.20
5.4.20.0170.06316.38
5.4.10.0030.04716.33
5.4.00.0030.07315.77
5.3.290.0100.06314.60
5.3.280.0070.05314.57
5.3.270.0070.07714.42
5.3.260.0030.08014.42
5.3.250.0070.07714.52
5.3.240.0100.07314.61
5.3.230.0070.07314.53
5.3.220.0000.05014.51
5.3.210.0070.05714.49
5.3.200.0070.03714.48
5.3.190.0230.04714.44
5.3.180.0170.04714.48
5.3.170.0000.05014.48
5.3.160.0000.04314.54
5.3.150.0030.07714.53
5.3.140.0030.03714.36
5.3.130.0070.05014.48
5.3.120.0070.03714.55
5.3.110.0030.08314.44
5.3.100.0070.07713.82
5.3.90.0000.04013.96
5.3.80.0100.05314.04
5.3.70.0000.04013.84
5.3.60.0030.04713.96
5.3.50.0030.04713.89
5.3.40.0100.07013.87
5.3.30.0130.05313.83
5.3.20.0030.05313.48
5.3.10.0070.06313.64
5.3.00.0130.03313.62
5.2.170.0000.07011.13
5.2.160.0000.04711.30
5.2.150.0070.04311.22
5.2.140.0100.05011.07
5.2.130.0000.03011.05
5.2.120.0070.04711.08
5.2.110.0030.03011.25
5.2.100.0100.03310.98
5.2.90.0030.05311.10
5.2.80.0100.06011.02
5.2.70.0000.03711.09
5.2.60.0100.02310.94
5.2.50.0070.03711.09
5.2.40.0070.03310.89
5.2.30.0070.06010.89
5.2.20.0030.05010.89
5.2.10.0100.05310.83
5.2.00.0030.04310.70
5.1.60.0100.0439.98
5.1.50.0000.0579.83
5.1.40.0030.0379.95
5.1.30.0000.04310.41
5.1.20.0030.05710.35
5.1.10.0030.03010.03
5.1.00.0030.02710.14
5.0.50.0030.0338.51
5.0.40.0070.0278.48
5.0.30.0070.0338.23
5.0.20.0030.0378.23
5.0.10.0030.0438.20
5.0.00.0100.0478.20
4.4.90.0030.0137.95
4.4.80.0000.0407.95
4.4.70.0000.0307.95
4.4.60.0000.0277.95
4.4.50.0000.0337.95
4.4.40.0030.0307.95
4.4.30.0030.0377.95
4.4.20.0000.0307.95
4.4.10.0000.0407.95
4.4.00.0000.0607.95
4.3.110.0000.0377.95
4.3.100.0000.0207.95
4.3.90.0000.0237.95
4.3.80.0030.0577.95
4.3.70.0000.0337.95
4.3.60.0000.0237.95
4.3.50.0070.0207.95
4.3.40.0030.0507.95
4.3.30.0000.0377.95
4.3.20.0070.0137.95
4.3.10.0000.0407.95
4.3.00.0000.0377.95