3v4l.org

run code in 300+ 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)
8.0.00.0060.01216.79
7.4.120.0030.01316.46
7.4.110.0120.00616.57
7.4.100.0120.00616.46
7.4.90.0120.00616.36
7.4.80.0130.00319.39
7.4.70.0080.01116.52
7.4.60.0120.00316.48
7.4.50.0030.00316.38
7.4.40.0070.01016.63
7.4.30.0170.00316.54
7.4.10.0100.00914.94
7.4.00.0060.01014.87
7.3.240.0140.00316.31
7.3.230.0030.01316.34
7.3.210.0110.00716.50
7.3.200.0100.00716.46
7.3.190.0070.01416.32
7.3.180.0090.00616.29
7.3.170.0090.00916.57
7.3.160.0070.01116.38
7.3.130.0100.00915.01
7.3.120.0060.01014.78
7.3.110.0100.00714.78
7.3.100.0170.00114.65
7.3.90.0090.01114.73
7.3.80.0050.00914.67
7.3.70.0090.00614.55
7.3.60.0100.00314.73
7.3.50.0060.01014.86
7.3.40.0070.00914.67
7.3.30.0080.01114.75
7.3.20.0080.00515.42
7.3.10.0070.00815.71
7.3.00.0090.00715.60
7.2.330.0180.00016.73
7.2.320.0150.00816.55
7.2.310.0080.01116.59
7.2.300.0140.00316.83
7.2.290.0160.00316.54
7.2.260.0120.00514.75
7.2.250.0080.00914.66
7.2.240.0090.00714.92
7.2.230.0060.01314.80
7.2.220.0120.01014.79
7.2.210.0050.00814.84
7.2.200.0090.00714.88
7.2.190.0130.00514.79
7.2.180.0050.01015.05
7.2.170.0090.00615.07
7.2.160.0060.01014.99
7.2.150.0080.00615.63
7.2.140.0070.01215.86
7.2.130.0110.00515.85
7.2.120.0050.01015.74
7.2.110.0040.01415.66
7.2.100.0080.01115.88
7.2.90.0000.01515.87
7.2.80.0040.01315.93
7.2.70.0060.00915.80
7.2.60.0030.01016.29
7.2.50.0070.00515.71
7.2.40.0090.00915.82
7.2.30.0110.00515.91
7.2.20.0060.00815.90
7.2.10.0100.00615.96
7.2.00.0070.01317.02
7.1.330.0130.00514.89
7.1.320.0100.01014.78
7.1.310.0060.01014.74
7.1.300.0100.00614.64
7.1.290.0080.01014.74
7.1.280.0050.01314.69
7.1.270.0120.00714.85
7.1.260.0120.00714.73
7.1.250.0140.00914.82
7.1.240.0110.00714.96
7.1.230.0110.01014.79
7.1.220.0150.00514.76
7.1.210.0070.00714.71
7.1.200.0080.00815.27
7.1.190.0110.00814.82
7.1.180.0100.00614.72
7.1.170.0130.00414.87
7.1.160.0090.00714.64
7.1.150.0120.00714.92
7.1.140.0080.01014.85
7.1.130.0100.00514.71
7.1.120.0070.00914.83
7.1.110.0140.00414.65
7.1.100.0060.00815.95
7.1.90.0050.01114.80
7.1.80.0150.00714.79
7.1.70.0060.00915.71
7.1.60.0100.01016.40
7.1.50.0100.00815.56
7.1.40.0090.00814.87
7.1.30.0100.00914.85
7.1.20.0100.00714.73
7.1.10.0060.01014.70
7.1.00.0090.01517.18
7.0.330.0090.00514.34
7.0.320.0120.00514.25
7.0.310.0130.00714.34
7.0.300.0020.01014.08
7.0.290.0120.00514.33
7.0.280.0070.00614.15
7.0.270.0030.01014.23
7.0.260.0080.00714.34
7.0.250.0150.00814.38
7.0.240.0080.00614.54
7.0.230.0140.00714.57
7.0.220.0090.01014.40
7.0.210.0080.00714.32
7.0.200.0120.00515.27
7.0.190.0040.01014.25
7.0.180.0170.00514.39
7.0.170.0090.01114.47
7.0.160.0080.00914.28
7.0.150.0080.00714.07
7.0.140.0090.02716.91
7.0.130.0070.01014.41
7.0.120.0060.03016.96
7.0.110.0090.00914.52
7.0.100.0120.00214.20
7.0.90.0060.01114.39
7.0.80.0080.00714.27
7.0.70.0110.00414.38
7.0.60.0060.03316.30
7.0.50.0090.03215.47
7.0.40.0070.02915.48
7.0.30.0180.02415.61
7.0.20.0130.02115.71
7.0.10.0070.03315.63
7.0.00.0070.02115.75
5.6.400.0110.01114.34
5.6.390.0040.01214.27
5.6.380.0090.01114.13
5.6.370.0100.00714.32
5.6.360.0100.00814.37
5.6.350.0100.00514.44
5.6.340.0100.00714.39
5.6.330.0130.00414.45
5.6.320.0080.00814.44
5.6.310.0090.00814.54
5.6.300.0120.00414.14
5.6.290.0070.00914.26
5.6.280.0050.03216.55
5.6.270.0070.00714.25
5.6.260.0110.00414.18
5.6.250.0110.00614.22
5.6.240.0080.01114.24
5.6.230.0120.00514.32
5.6.220.0030.01314.12
5.6.210.0110.02816.27
5.6.200.0090.02915.45
5.6.190.0080.01916.43
5.6.180.1280.01716.25
5.6.170.0120.02116.51
5.6.160.0060.02216.30
5.6.150.0050.03615.47
5.6.140.0090.01915.68
5.6.130.0090.03315.69
5.6.120.0100.02216.61
5.6.110.0100.03516.50
5.6.100.0070.03616.57
5.6.90.0160.02716.55
5.6.80.0120.02416.18
5.6.70.1150.02016.24
5.6.60.0080.00914.12
5.6.50.0080.01014.23
5.6.40.0040.01514.04
5.6.30.0200.00313.96
5.6.20.0110.00514.10
5.6.10.0120.00514.02
5.6.00.0100.00513.92
5.5.380.0100.00914.36
5.5.370.0130.00514.08
5.5.360.0070.00714.26
5.5.350.0080.03316.29
5.5.340.0070.02515.33
5.5.330.0090.02816.31
5.5.320.0150.01616.13
5.5.310.0120.03516.23
5.5.300.0060.02315.59
5.5.290.0060.02315.38
5.5.280.0100.02616.29
5.5.270.0130.03116.56
5.5.260.0120.02916.35
5.5.250.0070.02416.38
5.5.240.0100.02616.26
5.5.230.0160.00314.03
5.5.220.0110.00714.27
5.5.210.0120.00714.15
5.5.200.0080.01214.08
5.5.190.0150.00314.23
5.5.180.0100.00614.16
5.5.170.0080.01014.43
5.5.160.0110.00514.12
5.5.150.0110.00914.38
5.5.140.0110.01114.21
5.5.130.0100.01014.28
5.5.120.0060.01014.26
5.5.110.0100.00714.17
5.5.100.0110.00514.00
5.5.90.0100.00613.97
5.5.80.0070.00714.13
5.5.70.0150.00214.22
5.5.60.0100.00514.16
5.5.50.0090.00914.14
5.5.40.0070.01114.30
5.5.30.0080.00814.40
5.5.20.0090.00714.18
5.5.10.0100.00714.07
5.5.00.0070.01014.13
5.4.450.0080.01714.79
5.4.440.0090.02514.81
5.4.430.0110.02614.80
5.4.420.0090.02714.68
5.4.410.0060.01714.64
5.4.400.0060.02114.69
5.4.390.0070.02214.57
5.4.380.0030.02214.61
5.4.370.0070.01914.61
5.4.360.0020.02514.61
5.4.350.0110.01814.68
5.4.340.0060.02014.69
5.4.330.0090.00412.46
5.4.320.0060.02914.67
5.4.310.0100.01714.64
5.4.300.0040.03114.57
5.4.290.0070.02214.66
5.4.280.0020.02514.61
5.4.270.0080.02914.70
5.4.260.0080.01614.57
5.4.250.0070.01514.66
5.4.240.0080.01614.66
5.4.230.0060.02014.57
5.4.220.0080.01914.56
5.4.210.0070.03014.70
5.4.200.0060.02614.66
5.4.190.0050.02614.69
5.4.180.0040.02914.61
5.4.170.0060.01914.68
5.4.160.0050.02614.60
5.4.150.0050.01814.69
5.4.140.0030.02013.74
5.4.130.0050.02913.76
5.4.120.0090.02313.72
5.4.110.0080.01713.73
5.4.100.0050.02913.72
5.4.90.0040.02813.74
5.4.80.0080.01813.71
5.4.70.0090.01613.72
5.4.60.0080.01313.72
5.4.50.0090.02613.75
5.4.40.0120.01713.72
5.4.30.0080.01413.70
5.4.20.0090.02713.76
5.4.10.0070.01913.75
5.4.00.0050.03013.56
5.3.290.0090.03513.65
5.3.280.0050.03113.63
5.3.270.0080.04013.56
5.3.260.0070.04213.56
5.3.250.0070.04213.61
5.3.240.0080.04013.66
5.3.230.0070.04113.62
5.3.220.0000.03213.61
5.3.210.0130.02813.60
5.3.200.0120.01813.59
5.3.190.0170.02713.57
5.3.180.0140.02313.59
5.3.170.0040.02713.59
5.3.160.0070.02313.62
5.3.150.0080.04013.62
5.3.140.0060.02113.53
5.3.130.0070.02813.59
5.3.120.0120.01813.63
5.3.110.0070.04313.57
5.3.100.0090.04013.26
5.3.90.0070.02013.33
5.3.80.0120.02913.37
5.3.70.0020.02513.27
5.3.60.0070.02713.33
5.3.50.0060.02513.29
5.3.40.0100.03713.29
5.3.30.0110.02913.27
5.3.20.0050.03013.09
5.3.10.0080.03413.17
5.3.00.0110.01913.16
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