3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[0]['somekey'] = 'bla'; 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.40
8.3.50.0150.00621.14
8.3.40.0090.00918.79
8.3.30.0070.00719.23
8.3.20.0050.00220.34
8.3.10.0040.00423.48
8.3.00.0000.00819.51
8.2.180.0040.01116.88
8.2.170.0140.00022.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0070.00320.31
8.2.110.0000.00919.24
8.2.100.0120.00018.03
8.2.90.0090.00019.21
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0050.00318.04
8.2.50.0030.00618.10
8.2.40.0040.00420.55
8.2.30.0070.00018.04
8.2.20.0070.00017.74
8.2.10.0070.00018.12
8.2.00.0040.00417.78
8.1.280.0060.00925.92
8.1.270.0030.00623.83
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00324.02
8.1.230.0080.00318.98
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0000.00917.35
8.1.190.0080.00017.36
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0030.00521.86
8.1.150.0000.00718.84
8.1.140.0050.00217.43
8.1.130.0000.00717.78
8.1.120.0000.00717.30
8.1.110.0000.00717.43
8.1.100.0000.00717.45
8.1.90.0000.00717.30
8.1.80.0040.00417.37
8.1.70.0030.00517.35
8.1.60.0000.00817.54
8.1.50.0050.00317.48
8.1.40.0040.00417.46
8.1.30.0000.00817.66
8.1.20.0000.00717.57
8.1.10.0000.00717.45
8.1.00.0000.00817.36
8.0.300.0070.00018.77
8.0.290.0090.00016.75
8.0.280.0040.00418.25
8.0.270.0030.00317.14
8.0.260.0030.00317.04
8.0.250.0030.00316.98
8.0.240.0000.00716.95
8.0.230.0030.00317.00
8.0.220.0030.00416.88
8.0.210.0060.00016.80
8.0.200.0030.00517.01
8.0.190.0000.00716.86
8.0.180.0040.00416.81
8.0.170.0000.00716.94
8.0.160.0000.00716.79
8.0.150.0000.00716.69
8.0.140.0070.00016.74
8.0.130.0050.00013.32
8.0.120.0040.00416.91
8.0.110.0000.00816.92
8.0.100.0020.00516.68
8.0.90.0000.00716.95
8.0.80.0060.00916.95
8.0.70.0040.00416.89
8.0.60.0040.00417.01
8.0.50.0000.00716.80
8.0.30.0130.00917.16
8.0.20.0120.00717.40
8.0.10.0000.00817.07
8.0.00.0120.00517.04
7.4.330.0050.00015.11
7.4.320.0000.00716.46
7.4.300.0000.00616.33
7.4.290.0000.00716.35
7.4.280.0040.00416.34
7.4.270.0030.00316.36
7.4.260.0040.00416.34
7.4.250.0020.00516.30
7.4.240.0020.00516.45
7.4.230.0000.00716.54
7.4.220.0070.01116.48
7.4.210.0090.00616.60
7.4.200.0050.00316.43
7.4.160.0110.00616.52
7.4.150.0170.00017.40
7.4.140.0130.00817.86
7.4.130.0030.01316.51
7.4.120.0110.00616.59
7.4.110.0070.01016.52
7.4.100.0060.01316.46
7.4.90.0100.01316.41
7.4.80.0140.00319.39
7.4.70.0090.00916.45
7.4.60.0110.00716.50
7.4.50.0060.00316.17
7.4.40.0030.01916.53
7.4.30.0090.00916.52
7.4.00.0150.00014.98
7.3.330.0030.00313.26
7.3.320.0000.00613.08
7.3.310.0000.00716.26
7.3.300.0070.00016.35
7.3.290.0070.00916.37
7.3.280.0080.00816.40
7.3.270.0040.01517.40
7.3.260.0080.00816.42
7.3.250.0060.01016.46
7.3.240.0190.00016.29
7.3.230.0060.01116.39
7.3.210.0120.00616.30
7.3.200.0060.00919.39
7.3.190.0160.01716.52
7.3.180.0060.00916.68
7.3.170.0080.00916.61
7.3.160.0040.01216.59
7.2.330.0120.00616.38
7.2.320.0140.00416.68
7.2.310.0030.01416.57
7.2.300.0120.00916.65
7.2.290.0110.00716.50
7.2.80.0030.01016.47
7.2.00.0070.01019.38
7.1.200.0100.00015.74
7.1.100.0000.01217.78
7.1.70.0080.00317.28
7.1.60.0150.01119.32
7.1.50.0040.02016.96
7.1.00.0070.07322.28
7.0.200.0040.00416.77
7.0.140.0100.06722.08
7.0.60.0030.09019.91
7.0.50.0100.07717.88
7.0.40.0100.05719.98
7.0.30.0270.05320.20
7.0.20.0330.07320.17
7.0.10.0100.08320.12
7.0.00.0130.08320.16
5.6.280.0000.07320.92
5.6.210.0070.08020.72
5.6.200.0000.04318.09
5.6.190.0030.05020.35
5.6.180.0170.07320.35
5.6.170.0270.09320.51
5.6.160.0100.07720.49
5.6.150.0100.07318.12
5.6.140.0070.05018.10
5.6.130.0030.08718.21
5.6.120.0100.07321.11
5.6.110.0030.04320.95
5.6.100.0030.06021.02
5.6.90.0100.04720.87
5.6.80.0030.08320.36
5.6.70.3430.03320.36
5.5.350.0300.07320.29
5.5.340.0100.03318.04
5.5.330.0100.07020.21
5.5.320.0330.07020.28
5.5.310.0300.06020.30
5.5.300.0070.04017.96
5.5.290.0070.03718.00
5.5.280.0070.03720.88
5.5.270.0070.04320.89
5.5.260.0170.06720.63
5.5.250.0100.04020.54
5.5.240.1930.03320.25
5.4.450.0170.05319.32
5.4.440.0970.05019.46
5.4.430.1130.06319.09
5.4.420.0600.05719.47
5.4.410.0970.06019.47
5.4.400.0170.05018.81
5.4.390.0800.04719.19
5.4.380.0970.05019.14
5.4.370.0930.04719.04
5.4.360.0200.04318.96
5.4.350.0830.04319.12
5.4.340.0060.03411.97
5.4.320.0040.04112.45
5.4.310.0060.03912.45
5.4.300.0090.03512.45
5.4.290.0060.04312.45
5.4.280.0070.03512.35
5.4.270.0050.03912.35
5.4.260.0090.04012.35
5.4.250.0120.04212.34
5.4.240.0040.04212.34
5.4.230.0090.04412.34
5.4.220.0050.04812.34
5.4.210.0070.03912.34
5.4.200.0070.03912.34
5.4.190.0060.04212.34
5.4.180.0080.03612.34
5.4.170.0070.03512.35
5.4.160.0040.03912.34
5.4.150.0030.03912.34
5.4.140.0070.03812.02
5.4.130.0080.03712.01
5.4.120.0060.03811.97
5.4.110.0070.03611.96
5.4.100.0170.03211.96
5.4.90.0100.03411.96
5.4.80.0050.04111.96
5.4.70.0130.02711.96
5.4.60.0050.03611.96
5.4.50.0090.03111.96
5.4.40.0020.03811.95
5.4.30.0040.03711.95
5.4.20.0050.03711.95
5.4.10.0110.03311.95
5.4.00.0070.04511.43
5.3.290.0160.04812.80
5.3.280.0090.05012.71
5.3.270.0090.05212.73
5.3.260.0080.04512.72
5.3.250.0090.04812.72
5.3.240.0110.04812.72
5.3.230.0080.05212.71
5.3.220.0060.05412.68
5.3.210.0080.05412.68
5.3.200.0080.03412.68
5.3.190.0060.03612.68
5.3.180.0060.03612.68
5.3.170.0060.03612.67
5.3.160.0060.03612.68
5.3.150.0080.03412.67
5.3.140.0030.03912.66
5.3.130.0040.04112.66
5.3.120.0070.03812.66
5.3.110.0060.03912.66
5.3.100.0040.04012.12
5.3.90.0070.03912.08
5.3.80.0030.04112.08
5.3.70.0040.03912.07
5.3.60.0040.03812.06
5.3.50.0060.03512.00
5.3.40.0070.03512.00
5.3.30.0030.03711.95
5.3.20.0040.03611.72
5.3.10.0080.03211.69
5.3.00.0030.03811.68
5.2.170.0060.0289.18
5.2.160.0070.0269.18
5.2.150.0020.0339.18
5.2.140.0040.0319.17
5.2.130.0050.0309.13
5.2.120.0040.0309.13
5.2.110.0020.0329.14
5.2.100.0020.0319.14
5.2.90.0050.0289.14
5.2.80.0040.0309.14
5.2.70.0040.0329.14
5.2.60.0040.0319.09
5.2.50.0030.0329.05
5.2.40.0060.0289.04
5.2.30.0070.0329.01
5.2.20.0030.0309.00
5.2.10.0050.0278.92
5.2.00.0070.0268.77
5.1.60.0040.0288.07
5.1.50.0030.0268.06
5.1.40.0030.0258.04
5.1.30.0070.0248.39
5.1.20.0050.0278.41
5.1.10.0030.0278.14
5.1.00.0050.0238.14
5.0.50.0030.0216.62
5.0.40.0040.0206.47
5.0.30.0040.0306.29
5.0.20.0040.0196.26
5.0.10.0050.0186.23
5.0.00.0040.0306.23
4.4.90.0010.0184.78
4.4.80.0030.0154.76
4.4.70.0050.0134.75
4.4.60.0020.0164.76
4.4.50.0050.0134.77
4.4.40.0020.0254.70
4.4.30.0030.0154.76
4.4.20.0020.0174.84
4.4.10.0050.0144.85
4.4.00.0040.0284.76
4.3.110.0020.0174.66
4.3.100.0010.0164.66
4.3.90.0010.0174.63
4.3.80.0030.0244.58
4.3.70.0060.0124.63
4.3.60.0030.0144.63
4.3.50.0040.0154.63
4.3.40.0050.0224.54
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0020.0153.22
4.3.00.0100.0276.87

preferences:
47.68 ms | 401 KiB | 5 Q