3v4l.org

run code in 300+ PHP versions simultaneously
<?php function accessData($key) { foreach (explode('.', $key) as $pin) { $this->data = $this->data[$pin] ?? NULL; } return $this->data; }

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.4.130.0140.00717.67
8.4.120.0060.01320.38
8.4.110.0030.00720.64
8.4.100.0130.00717.29
8.4.90.0120.00917.57
8.4.80.0120.00817.73
8.4.70.0110.00917.63
8.4.60.0120.00920.43
8.4.50.0070.00119.26
8.4.40.0050.00517.37
8.4.30.0000.01018.46
8.4.20.0120.00319.53
8.4.10.0110.00819.26
8.3.260.0130.00616.65
8.3.250.0120.00618.89
8.3.240.0130.00616.38
8.3.230.0110.01016.52
8.3.220.0120.00718.41
8.3.210.0080.01016.73
8.3.200.0030.00516.72
8.3.190.0100.00816.95
8.3.180.0130.00616.43
8.3.170.0170.00017.09
8.3.160.0070.01118.22
8.3.150.0120.00820.82
8.3.140.0040.01116.47
8.3.130.0120.00418.39
8.3.120.0110.00320.47
8.3.110.0090.00020.94
8.3.100.0120.00416.50
8.3.90.0080.00426.77
8.3.80.0120.00016.38
8.3.70.0120.00916.58
8.3.60.0140.00016.38
8.3.50.0110.00718.21
8.3.40.0110.00419.09
8.3.30.0140.00018.49
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0120.00720.26
8.2.280.0100.00818.29
8.2.270.0070.01316.93
8.2.260.0080.00019.86
8.2.250.0000.01016.62
8.2.240.0080.00017.09
8.2.230.0070.00322.58
8.2.220.0110.00724.06
8.2.210.0070.00726.77
8.2.200.0080.00416.38
8.2.190.0100.01016.63
8.2.180.0120.00625.92
8.2.170.0120.00318.56
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0090.00019.02
8.2.110.0070.00422.07
8.2.100.0040.00817.47
8.2.90.0080.00017.74
8.2.80.0000.00819.07
8.2.70.0050.00317.63
8.2.60.0060.00317.38
8.2.50.0050.00517.91
8.2.40.0040.00419.65
8.2.30.0030.00617.52
8.2.20.0000.00819.34
8.2.10.0000.00817.66
8.2.00.0000.00719.10
8.1.330.0130.00816.44
8.1.320.0130.00616.01
8.1.310.0000.00816.39
8.1.300.0040.00419.95
8.1.290.0000.01030.84
8.1.280.0070.00725.92
8.1.270.0030.00623.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0130.00622.07
8.1.230.0040.00821.03
8.1.220.0090.00017.74
8.1.210.0030.00518.77
8.1.200.0080.00017.23
8.1.190.0000.00817.10
8.1.180.0030.00618.10
8.1.170.0070.00017.62
8.1.160.0070.00318.77
8.1.150.0070.00018.51
8.1.140.0040.00417.32
8.1.130.0000.00718.67
8.1.120.0040.00417.28
8.1.110.0040.00417.22
8.1.100.0080.00317.23
8.1.90.0050.00317.28
8.1.80.0000.00917.36
8.1.70.0070.00017.23
8.1.60.0030.00617.38
8.1.50.0040.00417.44
8.1.40.0070.00017.36
8.1.30.0030.00617.45
8.1.20.0040.00417.54
8.1.10.0040.00417.34
8.1.00.0040.00817.30
8.0.300.0070.00020.14
8.0.290.0060.00316.63
8.0.280.0040.00417.84
8.0.270.0000.00716.72
8.0.260.0040.00418.26
8.0.250.0040.00416.87
8.0.240.0050.00316.80
8.0.230.0000.00716.77
8.0.220.0060.00016.77
8.0.210.0040.00416.76
8.0.200.0030.00516.74
8.0.190.0040.00416.75
8.0.180.0000.00716.83
8.0.170.0040.00416.79
8.0.160.0060.00316.80
8.0.150.0050.00316.74
8.0.140.0080.00316.63
8.0.130.0030.00313.17
8.0.120.0070.00013.16
8.0.110.0070.00013.21
8.0.100.0040.00413.09
8.0.90.0050.00313.20
8.0.80.0040.00413.19
8.0.70.0030.00413.20
8.0.60.0040.00413.09
8.0.50.0070.00013.13
8.0.30.0040.00413.20
8.0.20.0030.00313.27
8.0.10.0030.00313.20
8.0.00.0030.00313.29
7.4.330.0020.00215.55
7.4.320.0000.00616.37
7.4.300.0030.00316.39
7.4.290.0020.00516.29
7.4.280.0050.00316.45
7.4.270.0030.00316.39
7.4.260.0050.00013.25
7.4.250.0050.00013.15
7.4.240.0050.00013.11
7.4.230.0030.00313.16
7.4.220.0000.00613.15
7.4.210.0030.00313.12
7.4.200.0070.00013.07
7.4.190.0100.00013.10
7.4.180.0080.00012.86
7.4.160.0080.00312.99
7.4.150.0110.00012.79
7.4.140.0060.00412.46
7.4.130.0030.00612.90
7.4.120.0000.00812.87
7.4.110.0080.00312.75
7.4.100.0050.00512.88
7.4.90.0000.01312.61
7.4.80.0110.00013.00
7.4.70.0040.00712.71
7.4.60.0120.00012.72
7.4.50.0000.01112.61
7.4.40.0060.00612.61
7.4.30.0060.00612.71
7.4.20.0090.00313.02
7.4.10.0060.00612.72
7.4.00.0060.00312.89
7.3.330.0030.00516.05
7.3.320.0080.00413.09
7.3.310.0080.00312.75
7.3.300.0070.00412.22
7.3.290.0080.00312.90
7.3.280.0060.00612.81
7.3.270.0080.00412.73
7.3.260.0100.00012.63
7.3.250.0040.00412.84
7.3.240.0060.00613.26
7.3.230.0080.00212.88
7.3.220.0070.00212.84
7.3.210.0060.00712.91
7.3.200.0100.00012.89
7.3.190.0040.00712.73
7.3.180.0100.00012.89
7.3.170.0090.00012.57
7.3.160.0080.00412.68
7.3.150.0030.00912.84
7.3.140.0030.00713.02
7.3.130.0070.00512.73
7.3.120.0080.00312.59
7.3.110.0080.00412.78
7.3.100.0090.00312.77
7.3.90.0070.00712.98
7.3.80.0130.00012.91
7.3.70.0100.00313.00
7.3.60.0100.00012.85
7.3.50.0000.00912.72
7.3.40.0110.00013.15
7.3.30.0090.00312.94
7.3.20.0100.00314.65
7.3.10.0040.00914.80
7.3.00.0140.00014.65

preferences:
28.42 ms | 403 KiB | 5 Q