3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[0]['somekey'] = 'bla'; is_array($array); isset($array[0]['somekey']['someotherkey']) ? print $array[0]['somekey']['someotherkey'] : print $array[0]['somekey']['someotherkey'];

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.0100.00718.31
8.3.50.0170.00521.28
8.3.40.0100.00718.80
8.3.30.0100.00318.95
8.3.20.0000.00720.25
8.3.10.0030.00523.48
8.3.00.0040.00419.25
8.2.180.0190.00316.50
8.2.170.0110.00322.96
8.2.160.0090.00620.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0050.00522.21
8.2.110.0070.01422.20
8.2.100.0040.00817.63
8.2.90.0040.00419.20
8.2.80.0050.00317.97
8.2.70.0030.00517.63
8.2.60.0040.00418.04
8.2.50.0070.00318.07
8.2.40.0030.00519.95
8.2.30.0020.00518.05
8.2.20.0000.00717.72
8.2.10.0000.00718.08
8.2.00.0040.00417.82
8.1.280.0090.00625.92
8.1.270.0040.00422.14
8.1.260.0070.00726.35
8.1.250.0050.00328.09
8.1.240.0100.01023.83
8.1.230.0040.00719.14
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00717.38
8.1.190.0000.00817.23
8.1.180.0090.00018.10
8.1.170.0000.00918.59
8.1.160.0070.00021.95
8.1.150.0070.00018.82
8.1.140.0040.00417.30
8.1.130.0000.00717.81
8.1.120.0030.00317.38
8.1.110.0000.00817.39
8.1.100.0000.00817.39
8.1.90.0070.00017.41
8.1.80.0000.00717.43
8.1.70.0030.00317.32
8.1.60.0000.00817.40
8.1.50.0000.00817.41
8.1.40.0040.00417.47
8.1.30.0060.00317.59
8.1.20.0000.00817.60
8.1.10.0000.00717.50
8.1.00.0040.00417.48
8.0.300.0090.00018.77
8.0.290.0070.00016.75
8.0.280.0070.00018.30
8.0.270.0030.00317.14
8.0.260.0060.00017.27
8.0.250.0040.00416.93
8.0.240.0070.00016.86
8.0.230.0030.00316.97
8.0.220.0040.00416.92
8.0.210.0040.00416.82
8.0.200.0000.00616.92
8.0.190.0030.00316.96
8.0.180.0040.00416.78
8.0.170.0050.00316.91
8.0.160.0030.00416.89
8.0.150.0000.00716.85
8.0.140.0040.00416.81
8.0.130.0060.00013.31
8.0.120.0000.00716.87
8.0.110.0040.00416.91
8.0.100.0040.00416.88
8.0.90.0040.00416.70
8.0.80.0140.00316.95
8.0.70.0000.00816.73
8.0.60.0030.00316.69
8.0.50.0040.00416.74
8.0.30.0090.01117.12
8.0.20.0140.00817.40
8.0.10.0040.00416.93
8.0.00.0050.01416.81
7.4.330.0020.00215.02
7.4.320.0000.00616.54
7.4.300.0030.00316.52
7.4.290.0040.00416.39
7.4.280.0070.00016.52
7.4.270.0000.00616.51
7.4.260.0030.00616.49
7.4.250.0000.00716.50
7.4.240.0060.00216.49
7.4.230.0070.00016.32
7.4.220.0130.01016.57
7.4.210.0060.00816.38
7.4.200.0000.00716.54
7.4.160.0130.00316.55
7.4.150.0110.00817.40
7.4.140.0130.00617.86
7.4.130.0140.00516.47
7.4.120.0080.01016.51
7.4.110.0030.01316.47
7.4.100.0030.01316.39
7.4.90.0030.01316.48
7.4.80.0150.00319.39
7.4.70.0080.00816.61
7.4.60.0130.00716.46
7.4.50.0050.00016.61
7.4.40.0110.00516.42
7.4.30.0110.01216.57
7.4.00.0030.01414.89
7.3.330.0030.00313.08
7.3.320.0060.00013.23
7.3.310.0000.00616.38
7.3.300.0030.00316.18
7.3.290.0100.00416.36
7.3.280.0070.01116.36
7.3.270.0140.01017.40
7.3.260.0060.01016.62
7.3.250.0100.00716.48
7.3.240.0090.01216.36
7.3.230.0130.00316.39
7.3.210.0120.00616.29
7.3.200.0100.00619.39
7.3.190.0080.01116.54
7.3.180.0040.01116.47
7.3.170.0100.00716.29
7.3.160.0080.00816.54
7.2.330.0150.00316.66
7.2.320.0090.00916.70
7.2.310.0000.01616.44
7.2.300.0100.01316.73
7.2.290.0130.00516.36
7.2.60.0030.01216.76
7.2.00.0090.00919.07
7.1.200.0120.00015.97
7.1.100.0060.00618.21
7.1.70.0070.00417.19
7.1.60.0090.01619.32
7.1.50.0170.00716.96
7.1.00.0000.08022.57
7.0.200.0040.00416.65
7.0.140.0000.07022.00
7.0.60.0000.04319.89
7.0.50.0030.04017.84
7.0.40.0070.07320.04
7.0.30.0330.08020.17
7.0.20.0200.04720.12
7.0.10.0130.04320.04
7.0.00.0130.08320.08
5.6.280.0130.06020.92
5.6.210.0130.04720.54
5.6.200.0100.07718.21
5.6.190.0070.04320.50
5.6.180.0270.04320.65
5.6.170.0370.07020.45
5.6.160.0030.07720.52
5.6.150.0030.04718.21
5.6.140.0170.07318.11
5.6.130.0070.06318.12
5.6.120.0130.04721.14
5.6.110.0070.07721.00
5.6.100.0070.07321.04
5.6.90.0070.05721.09
5.6.80.0030.06020.47
5.6.70.0100.03720.36
5.5.350.0200.05020.35
5.5.340.0130.07317.91
5.5.330.0030.09320.19
5.5.320.0070.05720.47
5.5.310.0130.04720.31
5.5.300.0070.04317.91
5.5.290.0030.04317.88
5.5.280.0100.07320.89
5.5.270.0070.05720.75
5.5.260.0030.07320.86
5.5.250.0000.08720.45
5.5.240.0170.06020.14
5.4.450.0600.06719.15
5.4.440.0800.06019.64
5.4.430.0400.06719.57
5.4.420.0730.05019.63
5.4.410.0830.05719.38
5.4.400.0770.05019.00
5.4.390.0530.05719.19
5.4.380.0830.05319.02
5.4.370.0770.05319.16
5.4.360.0700.04718.97
5.4.350.0330.06319.29
5.4.340.0070.03411.96
5.4.320.0070.03712.45
5.4.310.0080.03712.45
5.4.300.0070.03712.45
5.4.290.0070.04812.45
5.4.280.0030.04112.34
5.4.270.0060.03712.35
5.4.260.0060.04312.35
5.4.250.0120.03912.35
5.4.240.0050.03612.34
5.4.230.0060.04012.34
5.4.220.0080.03612.34
5.4.210.0090.03712.34
5.4.200.0070.05112.34
5.4.190.0120.03712.34
5.4.180.0050.03912.34
5.4.170.0130.03812.34
5.4.160.0100.03412.34
5.4.150.0040.03912.34
5.4.140.0070.03612.02
5.4.130.0110.03512.01
5.4.120.0080.03411.96
5.4.110.0060.03511.96
5.4.100.0060.03611.97
5.4.90.0080.03811.96
5.4.80.0040.04011.96
5.4.70.0050.03611.96
5.4.60.0050.03611.96
5.4.50.0060.03711.96
5.4.40.0050.03511.95
5.4.30.0040.03711.95
5.4.20.0060.03611.95
5.4.10.0050.03511.95
5.4.00.0060.03711.43
5.3.290.0050.04112.80
5.3.280.0080.04412.71
5.3.270.0050.04112.72
5.3.260.0060.03912.72
5.3.250.0050.04012.72
5.3.240.0060.03812.72
5.3.230.0080.03912.71
5.3.220.0060.04312.68
5.3.210.0070.05312.68
5.3.200.0080.04212.68
5.3.190.0090.03912.68
5.3.180.0100.03912.68
5.3.170.0140.05412.67
5.3.160.0070.04612.67
5.3.150.0030.04512.68
5.3.140.0070.03812.66
5.3.130.0050.04312.66
5.3.120.0080.03812.66
5.3.110.0070.04212.66
5.3.100.0070.04112.11
5.3.90.0100.04012.08
5.3.80.0210.06112.07
5.3.70.0120.05612.07
5.3.60.0080.04412.06
5.3.50.0050.05112.00
5.3.40.0090.03812.00
5.3.30.0170.04511.95
5.3.20.0080.04111.72
5.3.10.0050.03611.69
5.3.00.0080.04211.68
5.2.170.0050.0379.18
5.2.160.0050.0389.18
5.2.150.0120.0319.18
5.2.140.0040.0329.17
5.2.130.0060.0399.13
5.2.120.0060.0349.14
5.2.110.0040.0399.14
5.2.100.0060.0339.14
5.2.90.0030.0359.15
5.2.80.0050.0349.13
5.2.70.0020.0419.13
5.2.60.0030.0329.09
5.2.50.0070.0389.05
5.2.40.0050.0369.03
5.2.30.0050.0349.01
5.2.20.0080.0369.00
5.2.10.0060.0278.92
5.2.00.0060.0308.78
5.1.60.0050.0238.07
5.1.50.0050.0248.06
5.1.40.0020.0268.04
5.1.30.0040.0278.39
5.1.20.0080.0288.41
5.1.10.0060.0328.14
5.1.00.0060.0308.14
5.0.50.0050.0236.61
5.0.40.0020.0216.48
5.0.30.0030.0326.28
5.0.20.0050.0256.26
5.0.10.0060.0276.23
5.0.00.0050.0356.23
4.4.90.0060.0234.78
4.4.80.0050.0204.75
4.4.70.0050.0204.76
4.4.60.0040.0194.76
4.4.50.0020.0384.77
4.4.40.0080.0494.71
4.4.30.0050.0194.76
4.4.20.0040.0204.85
4.4.10.0090.0274.85
4.4.00.0020.0284.75
4.3.110.0080.0124.67
4.3.100.0020.0164.66
4.3.90.0030.0154.63
4.3.80.0010.0284.59
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0040.0144.63
4.3.40.0030.0244.54
4.3.30.0020.0223.28
4.3.20.0020.0163.26
4.3.10.0020.0163.22
4.3.00.0130.0206.86

preferences:
38.41 ms | 401 KiB | 5 Q