3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array(0 => '1'); echo isset($result[0]['foo']) ? 'Yes, it is set.' : 'No, it is not set.';

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.40.0140.00418.80
8.3.30.0190.00418.63
8.3.20.0040.00418.76
8.3.10.0080.00020.48
8.3.00.0000.00917.50
8.2.170.0070.00722.96
8.2.160.0130.00022.09
8.2.150.0150.00024.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0070.00019.83
8.2.110.0040.00421.04
8.2.100.0070.00417.91
8.2.90.0040.00419.30
8.2.80.0000.00918.16
8.2.70.0000.00817.75
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0000.00718.16
8.2.30.0030.00618.11
8.2.20.0000.00717.78
8.2.10.0000.00717.46
8.2.00.0100.00017.64
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00522.59
8.1.230.0070.00720.89
8.1.220.0040.00418.77
8.1.210.0030.00618.85
8.1.200.0000.01017.23
8.1.190.0000.00817.39
8.1.180.0110.00018.10
8.1.170.0040.00418.84
8.1.160.0000.00718.81
8.1.150.0070.00018.49
8.1.140.0000.00717.43
8.1.130.0080.00017.71
8.1.120.0000.00717.26
8.1.110.0030.00417.40
8.1.100.0000.00717.39
8.1.90.0070.00017.41
8.1.80.0040.00417.38
8.1.70.0030.00517.35
8.1.60.0040.00417.48
8.1.50.0050.00317.42
8.1.40.0050.00317.42
8.1.30.0030.00517.58
8.1.20.0040.00417.57
8.1.10.0000.00717.49
8.1.00.0040.00417.53
8.0.300.0000.00720.05
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0000.00717.26
8.0.260.0030.00316.78
8.0.250.0000.00716.97
8.0.240.0090.00016.94
8.0.230.0030.00316.91
8.0.220.0000.00616.71
8.0.210.0030.00316.71
8.0.200.0000.00716.91
8.0.190.0000.00716.76
8.0.180.0030.00316.78
8.0.170.0060.00316.86
8.0.160.0000.00816.84
8.0.150.0030.00616.74
8.0.140.0100.00016.72
8.0.130.0030.00313.30
8.0.120.0070.00016.68
8.0.110.0080.00016.78
8.0.100.0070.00016.73
8.0.90.0030.00316.63
8.0.80.0080.00816.77
8.0.70.0000.00716.78
8.0.60.0000.00716.72
8.0.50.0070.00016.74
8.0.30.0050.01817.06
8.0.20.0050.01817.18
8.0.10.0020.00516.95
8.0.00.0120.00616.71
7.4.330.0030.00413.43
7.4.320.0030.00316.63
7.4.300.0060.00016.49
7.4.290.0060.00016.52
7.4.280.0040.00416.55
7.4.270.0030.00316.53
7.4.260.0000.00813.29
7.4.250.0000.00816.40
7.4.240.0000.00816.49
7.4.230.0040.00416.37
7.4.220.0100.00916.63
7.4.210.0080.00816.52
7.4.200.0070.00016.61
7.4.190.0000.00716.51
7.4.160.0090.00616.44
7.4.150.0130.00317.18
7.4.140.0210.01317.22
7.4.130.0060.01116.48
7.4.120.0030.01416.44
7.4.110.0140.00716.28
7.4.100.0110.00816.34
7.4.90.0080.00816.50
7.4.80.0160.00619.39
7.4.70.0120.00816.44
7.4.60.0070.01516.41
7.4.50.0000.00816.50
7.4.40.0000.01522.27
7.4.30.0130.00316.55
7.4.00.0070.00714.63
7.3.330.0030.00313.10
7.3.320.0030.00312.96
7.3.310.0000.00716.17
7.3.300.0030.00316.25
7.3.290.0070.00716.37
7.3.280.0070.01016.24
7.3.270.0110.00817.18
7.3.260.0080.00918.24
7.3.250.0120.00716.29
7.3.240.0070.01016.28
7.3.230.0100.00716.39
7.3.210.0130.00416.50
7.3.200.0080.00816.18
7.3.190.0080.01516.56
7.3.180.0060.00916.17
7.3.170.0060.01316.27
7.3.160.0080.00816.37
7.3.120.0130.00014.64
7.3.10.0030.01316.11
7.3.00.0080.00416.38
7.2.330.0140.00416.53
7.2.320.0090.01316.63
7.2.310.0150.00616.23
7.2.300.0080.01416.61
7.2.290.0060.01416.38
7.2.130.0040.01116.49
7.2.120.0030.01216.51
7.2.110.0110.00416.55
7.2.100.0080.00416.29
7.2.90.0050.01316.56
7.2.80.0030.00816.37
7.2.70.0000.00916.61
7.2.60.0060.00916.63
7.2.50.0120.00816.48
7.2.40.0040.00716.80
7.2.30.0060.00916.54
7.2.20.0000.01216.86
7.2.10.0060.00616.64
7.2.00.0070.00517.90
7.1.250.0000.01115.38
7.1.200.0090.00315.84
7.1.100.0040.01117.79
7.1.70.0030.00317.12
7.1.60.0100.01619.40
7.1.50.0000.02016.65
7.1.00.0030.06322.56
7.0.200.0080.00016.36
7.0.140.0030.07321.95
7.0.60.0070.03719.86
7.0.50.0130.04017.80
7.0.40.0070.08720.03
7.0.30.0300.07720.02
7.0.20.0170.04020.03
7.0.10.0200.04720.12
7.0.00.0100.08320.20
5.6.280.0030.07320.77
5.6.210.0000.08020.52
5.6.200.0000.04318.11
5.6.190.0030.06320.50
5.6.180.0270.04320.32
5.6.170.0200.04720.49
5.6.160.0130.03320.70
5.6.150.0000.04318.15
5.6.140.0070.08318.22
5.6.130.0030.05718.21
5.6.120.0070.08320.97
5.6.110.0000.09720.96
5.6.100.0070.06721.10
5.6.90.0170.06720.95
5.6.80.0070.05020.48
5.6.70.3170.03320.27
5.5.350.4130.04320.41
5.5.340.0170.07017.92
5.5.330.0030.07020.25
5.5.320.0200.04320.38
5.5.310.0230.08720.30
5.5.300.0000.04717.97
5.5.290.0100.05017.89
5.5.280.0100.04720.76
5.5.270.0070.04720.64
5.5.260.0170.07020.86
5.5.250.0100.08320.70
5.5.240.0070.04320.04
5.4.450.0100.04019.41
5.4.440.0000.06719.41
5.4.430.0130.07019.39
5.4.420.0000.05319.43
5.4.410.0130.05719.28
5.4.400.0070.03719.18
5.4.390.0130.07018.79
5.4.380.0100.07718.91
5.4.370.0100.04319.13
5.4.360.0030.04319.18
5.4.350.0130.06719.14
5.4.340.0170.03719.18
5.4.320.0000.08318.79
5.4.310.0070.03719.18
5.4.300.0000.05019.17
5.4.290.0000.05318.79
5.4.280.0070.04319.18
5.4.270.0100.05019.18
5.4.260.0030.07318.96
5.4.250.0000.04019.11
5.4.240.0000.05019.07
5.4.230.0000.04019.19
5.4.220.0030.03718.78
5.4.210.0030.04018.80
5.4.200.0070.03319.14
5.4.190.0000.04319.18
5.4.180.0070.03319.07
5.4.170.0070.03319.16
5.4.160.0030.04319.13
5.4.150.0030.03719.09
5.4.140.0030.03316.34
5.4.130.0000.03716.16
5.4.120.0070.03016.24
5.4.110.0030.03316.27
5.4.100.0000.04016.24
5.4.90.0070.03316.40
5.4.80.0000.03716.22
5.4.70.0030.03316.25
5.4.60.0030.03316.26
5.4.50.0170.02716.31
5.4.40.0000.03716.32
5.4.30.0130.02316.34
5.4.20.0030.03716.21
5.4.10.0030.03316.38
5.4.00.0000.04315.78
5.3.290.0100.03714.76
5.3.280.0000.04014.52
5.3.270.0130.02714.49
5.3.260.0000.04014.61
5.3.250.0100.03714.54
5.3.240.0030.03714.57
5.3.230.0030.04014.49
5.3.220.0000.04014.50
5.3.210.0000.04714.46
5.3.200.0070.03714.35
5.3.190.0030.03714.52
5.3.180.0070.03714.51
5.3.170.0000.03714.43
5.3.160.0000.04014.38
5.3.150.0000.04314.46
5.3.140.0070.03014.49
5.3.130.0070.03314.48
5.3.120.0030.03714.46
5.3.110.0030.03714.36
5.3.100.0000.04013.96
5.3.90.0030.04013.89
5.3.80.0000.05014.11
5.3.70.0070.03713.95
5.3.60.0000.07714.00
5.3.50.0030.04313.77
5.3.40.0370.03713.92
5.3.30.0030.05713.86
5.3.20.0070.06713.52
5.3.10.0030.05313.58
5.3.00.0170.06313.57
5.2.170.0000.03711.03
5.2.160.0030.03711.30
5.2.150.0230.03011.00
5.2.140.0070.03311.12
5.2.130.0130.02011.03
5.2.120.0030.03310.99
5.2.110.0100.05710.98
5.2.100.0130.05311.27
5.2.90.0030.04711.08
5.2.80.0030.06711.17
5.2.70.0070.06311.08
5.2.60.0100.04010.94
5.2.50.0070.06010.91
5.2.40.0000.03710.81
5.2.30.0030.04010.86
5.2.20.0000.04010.81
5.2.10.0030.06310.76
5.2.00.0100.03010.59
5.1.60.0030.0539.94
5.1.50.0030.0539.94
5.1.40.0070.0509.95
5.1.30.0000.06010.19
5.1.20.0070.05310.34
5.1.10.0030.0409.96
5.1.00.0070.04310.07
5.0.50.0000.0338.69
5.0.40.0030.0338.36
5.0.30.0030.0638.26
5.0.20.0000.0438.10
5.0.10.0000.0278.16
5.0.00.0000.0538.11
4.4.90.0030.0237.95
4.4.80.0030.0337.95
4.4.70.0000.0277.95
4.4.60.0100.0307.95
4.4.50.0030.0277.95
4.4.40.0070.0537.95
4.4.30.0030.0237.95
4.4.20.0070.0337.95
4.4.10.0000.0207.95
4.4.00.0000.0337.95
4.3.110.0070.0337.95
4.3.100.0070.0337.95
4.3.90.0000.0307.95
4.3.80.0030.0337.95
4.3.70.0030.0377.95
4.3.60.0000.0307.95
4.3.50.0070.0277.95
4.3.40.0070.0477.95
4.3.30.0000.0207.95
4.3.20.0030.0377.95
4.3.10.0000.0407.95
4.3.00.0000.0407.95

preferences:
46.29 ms | 400 KiB | 5 Q