3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[0]['somekey'] = 'bla'; isset($array[0]['somekey']['someotherkey']) ? print is_array($array[0]['somekey']) : print '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.60.0070.00718.18
8.3.50.0100.00616.66
8.3.40.0150.00418.82
8.3.30.0110.00319.17
8.3.20.0070.00020.34
8.3.10.0040.00423.65
8.3.00.0080.00019.25
8.2.180.0040.01116.63
8.2.170.0120.00322.96
8.2.160.0070.00719.16
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00320.49
8.2.110.0090.00022.08
8.2.100.0110.00017.75
8.2.90.0040.00419.34
8.2.80.0080.00017.97
8.2.70.0000.00817.75
8.2.60.0050.00517.93
8.2.50.0080.00818.07
8.2.40.0000.00820.01
8.2.30.0000.00718.09
8.2.20.0070.00017.54
8.2.10.0000.00717.93
8.2.00.0050.00317.68
8.1.280.0070.01325.92
8.1.270.0050.00323.85
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0090.00317.82
8.1.220.0030.00617.79
8.1.210.0060.00318.77
8.1.200.0030.00717.24
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.58
8.1.160.0040.00422.00
8.1.150.0000.00718.88
8.1.140.0040.00417.42
8.1.130.0000.00717.81
8.1.120.0050.00217.33
8.1.110.0040.00417.40
8.1.100.0000.00717.37
8.1.90.0000.00717.30
8.1.80.0000.00817.30
8.1.70.0030.00317.34
8.1.60.0040.00417.57
8.1.50.0030.00517.49
8.1.40.0000.00917.33
8.1.30.0030.00617.47
8.1.20.0000.00817.64
8.1.10.0050.00217.48
8.1.00.0000.00717.52
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.36
8.0.270.0040.00417.16
8.0.260.0000.00717.25
8.0.250.0000.00716.90
8.0.240.0070.00016.95
8.0.230.0030.00316.89
8.0.220.0000.00716.86
8.0.210.0030.00316.82
8.0.200.0060.00016.88
8.0.190.0040.00416.88
8.0.180.0050.00316.78
8.0.170.0000.00816.84
8.0.160.0070.00016.87
8.0.150.0040.00416.73
8.0.140.0000.00816.66
8.0.130.0030.00313.19
8.0.120.0070.00016.79
8.0.110.0040.00416.82
8.0.100.0040.00416.86
8.0.90.0070.00016.84
8.0.80.0060.01016.86
8.0.70.0040.00416.94
8.0.60.0030.00516.89
8.0.50.0000.00716.74
8.0.30.0130.00817.00
8.0.20.0130.01117.40
8.0.10.0000.00716.96
8.0.00.0090.00816.63
7.4.330.0030.00315.02
7.4.320.0060.00016.34
7.4.300.0060.00016.37
7.4.290.0030.00416.45
7.4.280.0000.00716.57
7.4.270.0030.00316.46
7.4.260.0000.00716.52
7.4.250.0080.00016.40
7.4.240.0030.00316.44
7.4.230.0040.00416.44
7.4.220.0100.00716.54
7.4.210.0140.00016.61
7.4.200.0020.00516.28
7.4.160.0080.00816.48
7.4.150.0090.01917.40
7.4.140.0100.00717.86
7.4.130.0150.00316.49
7.4.120.0070.00916.38
7.4.110.0070.01116.55
7.4.100.0140.00316.42
7.4.90.0040.01216.41
7.4.80.0110.00719.39
7.4.70.0140.00316.64
7.4.60.0160.00016.30
7.4.50.0080.00016.30
7.4.40.0140.00316.48
7.4.30.0150.00316.43
7.4.00.0070.01114.93
7.3.330.0050.00013.06
7.3.320.0050.00013.16
7.3.310.0000.00716.33
7.3.300.0060.00016.31
7.3.290.0100.01016.24
7.3.280.0090.00716.26
7.3.270.0110.01517.40
7.3.260.0090.01316.45
7.3.250.0100.00616.23
7.3.240.0170.00416.27
7.3.230.0110.00716.46
7.3.210.0100.00716.29
7.3.200.0080.00819.39
7.3.190.0090.01116.31
7.3.180.0060.00916.42
7.3.170.0100.01016.48
7.3.160.0100.01016.25
7.2.330.0150.00316.57
7.2.320.0090.01616.45
7.2.310.0110.00516.31
7.2.300.0070.01116.45
7.2.290.0090.00916.48
7.2.60.0040.01217.10
7.2.00.0030.00919.15
7.1.200.0060.00615.85
7.1.100.0080.00318.35
7.1.70.0000.00917.23
7.1.60.0090.01519.32
7.1.50.0120.01216.78
7.1.00.0070.07322.32
7.0.200.0000.00716.41
7.0.140.0000.07722.02
7.0.60.0070.05319.91
7.0.50.0200.06717.88
7.0.40.0170.03320.05
7.0.30.0400.04720.04
7.0.20.0370.07320.19
7.0.10.0030.08020.00
7.0.00.0070.08320.17
5.6.280.0000.07721.03
5.6.210.0070.08320.61
5.6.200.0030.08018.12
5.6.190.0100.04020.49
5.6.180.0300.03720.44
5.6.170.0300.04720.71
5.6.160.0100.08720.38
5.6.150.0100.07018.14
5.6.140.0030.04018.22
5.6.130.0070.03718.22
5.6.120.0030.04020.98
5.6.110.0200.07021.11
5.6.100.0170.07720.97
5.6.90.0070.07720.87
5.6.80.0030.05020.47
5.5.350.4400.04720.42
5.5.340.0030.08018.03
5.5.330.0070.06720.40
5.5.320.0170.05020.31
5.5.310.0270.05720.29
5.5.300.0130.07317.97
5.5.290.0030.06017.89
5.5.280.0070.07720.73
5.5.270.0030.07320.86
5.5.260.0000.04720.86
5.5.250.0100.08020.57
5.5.240.0030.03720.25
5.4.450.0670.06019.32
5.4.440.0730.06319.32
5.4.430.0830.05319.25
5.4.420.0870.05719.09
5.4.410.0600.06019.33
5.4.400.0970.05019.26
5.4.390.0870.07319.19
5.4.380.0730.05019.15
5.4.370.0670.05718.80
5.4.360.0700.05718.92
5.4.350.0730.08019.09
5.4.340.0070.03911.97
5.4.320.0060.03612.45
5.4.310.0060.03912.45
5.4.300.0080.03412.45
5.4.290.0070.04112.45
5.4.280.0060.03412.35
5.4.270.0060.04012.34
5.4.260.0090.03612.35
5.4.250.0080.03612.34
5.4.240.0070.03512.34
5.4.230.0090.03712.34
5.4.220.0050.03612.34
5.4.210.0080.03312.34
5.4.200.0070.03612.34
5.4.190.0040.03812.33
5.4.180.0060.03612.34
5.4.170.0070.03512.34
5.4.160.0060.03612.34
5.4.150.0060.03912.34
5.4.140.0090.03412.02
5.4.130.0040.03712.01
5.4.120.0080.03311.97
5.4.110.0050.03611.96
5.4.100.0030.03811.96
5.4.90.0100.03311.96
5.4.80.0090.03311.96
5.4.70.0040.03711.96
5.4.60.0060.03411.96
5.4.50.0060.03511.96
5.4.40.0070.03411.95
5.4.30.0090.03711.95
5.4.20.0040.04311.95
5.4.10.0030.03811.95
5.4.00.0060.03611.43
5.3.290.0070.03812.80
5.3.280.0040.04012.71
5.3.270.0090.03512.72
5.3.260.0050.04012.72
5.3.250.0050.03912.72
5.3.240.0070.03912.72
5.3.230.0070.03712.71
5.3.220.0090.03412.68
5.3.210.0040.04112.68
5.3.200.0030.03912.68
5.3.190.0050.04012.68
5.3.180.0090.03212.67
5.3.170.0060.03712.67
5.3.160.0050.03712.68
5.3.150.0050.03812.67
5.3.140.0070.03612.66
5.3.130.0080.03612.66
5.3.120.0060.03812.66
5.3.110.0080.03712.66
5.3.100.0040.03812.12
5.3.90.0030.03912.09
5.3.80.0090.03212.07
5.3.70.0050.03712.08
5.3.60.0060.03612.07
5.3.50.0050.03712.00
5.3.40.0060.03612.00
5.3.30.0080.03311.94
5.3.20.0080.03311.72
5.3.10.0030.03811.69
5.3.00.0070.03611.68
5.2.170.0060.0289.18
5.2.160.0050.0299.18
5.2.150.0050.0349.18
5.2.140.0030.0339.18
5.2.130.0050.0299.13
5.2.120.0050.0289.13
5.2.110.0020.0329.14
5.2.100.0060.0289.14
5.2.90.0040.0319.14
5.2.80.0040.0319.13
5.2.70.0040.0329.14
5.2.60.0070.0289.09
5.2.50.0030.0329.06
5.2.40.0020.0349.03
5.2.30.0060.0319.01
5.2.20.0060.0279.00
5.2.10.0010.0328.92
5.2.00.0040.0348.77
5.1.60.0060.0228.06
5.1.50.0040.0268.05
5.1.40.0060.0248.04
5.1.30.0030.0328.39
5.1.20.0080.0248.41
5.1.10.0050.0278.14
5.1.00.0040.0278.13
5.0.50.0000.0246.61
5.0.40.0030.0206.48
5.0.30.0030.0316.29
5.0.20.0020.0216.25
5.0.10.0040.0196.23
5.0.00.0030.0306.23
4.4.90.0030.0144.78
4.4.80.0040.0144.76
4.4.70.0040.0144.75
4.4.60.0040.0144.75
4.4.50.0020.0164.77
4.4.40.0050.0234.71
4.4.30.0050.0134.76
4.4.20.0000.0184.84
4.4.10.0070.0124.85
4.4.00.0030.0254.76
4.3.110.0040.0174.66
4.3.100.0020.0174.66
4.3.90.0040.0134.63
4.3.80.0020.0254.59
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0030.0204.62
4.3.40.0040.0254.54
4.3.30.0040.0143.29
4.3.20.0030.0153.26
4.3.10.0020.0163.22
4.3.00.0130.0176.86

preferences:
34.26 ms | 400 KiB | 5 Q