3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ''; $read = $array['a']['b']; var_dump($array, $read);

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.10.0120.00619.59
8.3.140.0040.00416.70
8.3.130.0090.00018.34
8.3.120.0110.00618.81
8.3.110.0090.00920.94
8.3.100.0110.00724.06
8.3.90.0090.00026.77
8.3.80.0050.00517.97
8.3.70.0090.00616.63
8.3.60.0140.00318.48
8.3.50.0110.00716.54
8.3.40.0230.00919.68
8.3.30.0210.00819.00
8.3.20.0140.00621.92
8.3.10.0080.01121.81
8.3.00.0180.00618.84
8.2.260.0100.00318.51
8.2.250.0030.00618.55
8.2.240.0060.00318.97
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0080.00026.77
8.2.200.0040.00416.63
8.2.190.0150.00316.58
8.2.180.0090.00616.63
8.2.170.0270.00519.07
8.2.160.0230.00520.09
8.2.150.0110.01519.09
8.2.140.0070.01420.48
8.2.130.0120.01020.43
8.2.120.0170.00319.31
8.2.110.0120.00719.24
8.2.100.0200.00219.18
8.2.90.0160.00718.70
8.2.80.0100.00719.18
8.2.70.0120.01318.92
8.2.60.0200.00718.70
8.2.50.0130.00619.31
8.2.40.0190.01018.90
8.2.30.0200.00418.83
8.2.20.0130.01018.75
8.2.10.0180.00618.77
8.2.00.0180.00518.68
8.1.310.0050.00018.46
8.1.300.0030.00517.83
8.1.290.0030.00730.84
8.1.280.0110.00425.92
8.1.270.0090.00922.24
8.1.260.0110.00821.96
8.1.250.0120.01022.11
8.1.240.0140.00818.57
8.1.230.0160.00718.48
8.1.220.0170.00418.75
8.1.210.0180.00518.49
8.1.200.0160.00118.73
8.1.190.0180.00918.63
8.1.180.0190.00818.18
8.1.170.0160.00918.63
8.1.160.0090.01118.34
8.1.150.0130.00718.71
8.1.140.0170.00518.62
8.1.130.0220.00718.67
8.1.120.0170.01018.51
8.1.110.0140.00718.32
8.1.100.0140.00519.50
8.1.90.0070.01118.44
8.1.80.0100.01119.52
8.1.70.0130.00818.61
8.1.60.0160.00518.58
8.1.50.0070.01318.59
8.1.40.0160.00918.67
8.1.30.0090.00918.92
8.1.20.0170.00719.97
8.1.10.0140.00818.58
8.1.00.0210.00518.52
8.0.300.0090.00917.82
8.0.290.0210.01217.82
8.0.280.0130.01317.79
8.0.270.0180.00917.81
8.0.260.0230.00717.77
8.0.250.0100.01717.82
8.0.240.0210.00417.88
8.0.230.0240.00317.84
8.0.220.0270.00417.73
8.0.210.0240.00317.75
8.0.200.0210.00617.99
8.0.190.0240.00317.64
8.0.180.0250.00017.99
8.0.170.0320.00017.80
8.0.160.0170.01017.73
8.0.150.0200.00617.52
8.0.140.0290.00317.93
8.0.130.0190.01117.77
8.0.120.0230.00817.88
8.0.110.0160.01317.63
8.0.100.0150.00917.76
8.0.90.0270.00017.51
8.0.80.0280.00317.75
8.0.70.0190.00017.79
8.0.60.0250.01117.50
8.0.50.0230.00717.61
8.0.30.0110.00717.85
8.0.20.0230.00318.04
8.0.10.0180.01118.04
8.0.00.0230.00319.59
7.4.330.0300.00317.46
7.4.320.0240.01217.40
7.4.300.0260.01617.37
7.4.290.0280.00617.55
7.4.280.0400.00617.49
7.4.270.0270.01317.24
7.4.260.0330.00617.46
7.4.250.0250.00717.54
7.4.240.0220.00817.55
7.4.230.0260.00417.41
7.4.220.0270.01117.57
7.4.210.0240.00417.37
7.4.200.0210.00717.55
7.4.190.0400.00017.57
7.4.180.0220.01117.73
7.4.160.0410.00317.52
7.4.150.0220.00717.06
7.4.140.0240.00417.42
7.4.130.0280.00617.29
7.4.120.0300.00417.43
7.4.110.0200.01317.18
7.4.100.0290.00517.55
7.4.90.0210.00817.27
7.4.80.0180.01117.39
7.4.70.0270.00717.23
7.4.60.0230.00617.32
7.4.50.0180.01117.15
7.4.40.0280.00417.66
7.4.30.0190.00617.62
7.4.20.0170.01017.24
7.4.10.0230.00417.19
7.4.00.0330.00717.32
7.3.330.0270.01117.13
7.3.320.0410.00017.26
7.3.310.0270.01616.89
7.3.300.0310.00817.53
7.3.290.0300.01017.36
7.3.280.0230.00617.49
7.3.270.0290.01017.21
7.3.260.0260.01317.18
7.3.250.0350.00417.14
7.3.240.0310.00916.93
7.3.230.0260.01517.15
7.3.220.0370.00317.14
7.3.210.0310.00917.15
7.3.200.0370.00417.05
7.3.190.0370.00317.20
7.3.180.0270.01317.03
7.3.170.0300.00717.52
7.3.160.0350.00617.38
7.3.150.0330.00817.20
7.3.140.0330.01017.18
7.3.130.0370.01017.08
7.3.120.0380.00316.98
7.3.110.0130.01317.47
7.3.100.0240.00416.90
7.3.90.0250.00817.38
7.3.80.0300.00317.05
7.3.70.0160.00818.01
7.3.60.0280.00417.05
7.3.50.0260.00717.27
7.3.40.0370.00316.99
7.3.30.0250.00817.23
7.3.20.0320.01017.13
7.3.10.0330.00417.32
7.3.00.0390.00317.15
7.2.340.0240.01217.42
7.2.330.0330.00017.12
7.2.320.0280.00017.26
7.2.310.0340.00317.03
7.2.300.0300.00417.09
7.2.290.0370.00717.10
7.2.280.0300.00917.01
7.2.270.0230.01317.02
7.2.260.0290.00017.18
7.2.250.0250.00716.91
7.2.240.0280.00317.12
7.2.230.0180.01117.06
7.2.220.0300.00016.93
7.2.210.0220.00617.44
7.2.200.0280.00017.51
7.2.190.0230.00517.30
7.2.180.0200.01317.25
7.2.170.0190.00917.55
7.2.160.0170.01017.40
7.2.150.0290.00316.95
7.2.140.0260.00617.32
7.2.130.0250.00617.48
7.2.120.0570.01317.37
7.2.110.0290.01217.29
7.2.100.0230.01317.53
7.2.90.0190.01517.32
7.2.80.0240.00617.66
7.2.70.0270.00317.39
7.2.60.0300.01017.32
7.2.50.0310.00617.45
7.2.40.0230.01117.19
7.2.30.0260.00917.28
7.2.20.0200.01017.66
7.2.10.0300.00517.39
7.2.00.0180.00017.47
7.1.330.0240.00916.19
7.1.320.0200.00716.47
7.1.310.0230.00416.57
7.1.300.0120.01216.43
7.1.290.0170.00916.63
7.1.280.0280.01016.55
7.1.270.0170.00717.55
7.1.260.0190.00816.49
7.1.250.0290.00916.32
7.1.240.0770.01016.57
7.1.230.0260.00016.48
7.1.220.0230.00316.47
7.1.210.0210.00716.32
7.1.200.0230.00316.34
7.1.190.0200.00716.45
7.1.180.0220.00916.24
7.1.170.0180.01116.38
7.1.160.0280.00017.40
7.1.150.0270.00016.31
7.1.140.0230.00416.45
7.1.130.0260.00416.45
7.1.120.0200.00716.51
7.1.110.0180.00916.35
7.1.100.0190.00816.20
7.1.90.0200.01016.32
7.1.80.0230.00616.45
7.1.70.0280.00416.24
7.1.60.0180.00916.24
7.1.50.0170.01017.12
7.1.40.0250.00316.30
7.1.30.0230.00316.65
7.1.20.0510.00616.43
7.1.10.0260.00416.24
7.1.00.0070.00716.37
7.0.330.0270.01216.07
7.0.320.0270.00916.07
7.0.310.0260.00616.07
7.0.300.0230.01016.07
7.0.290.0230.00316.20
7.0.280.0160.01116.07
7.0.270.0230.00316.07
7.0.260.0180.00716.11
7.0.250.0260.00016.26
7.0.240.0150.01216.13
7.0.230.0230.00316.12
7.0.220.0250.00316.21
7.0.210.0200.00716.07
7.0.200.0150.01116.07
7.0.190.0180.00716.07
7.0.180.0260.00016.26
7.0.170.0130.01316.17
7.0.160.0220.00416.16
7.0.150.0230.01216.07
7.0.140.0880.00316.07
7.0.130.0260.00416.18
7.0.120.0100.01716.29
7.0.110.0280.00317.18
7.0.100.0110.01916.07
7.0.90.0110.01416.07
7.0.80.0270.00916.07
7.0.70.0160.01216.07
7.0.60.0090.00616.09
7.0.50.0130.00716.07
7.0.40.0190.00616.21
7.0.30.0110.00416.27
7.0.20.0270.00016.07
7.0.10.0210.00416.07
7.0.00.0150.00916.07
5.6.400.0180.00616.70
5.6.390.0220.00416.80
5.6.380.0240.00016.70
5.6.370.0210.00316.95
5.6.360.0230.00016.83
5.6.350.0120.01216.51
5.6.340.0190.00516.79
5.6.330.0210.00316.84
5.6.320.0190.00616.85
5.6.310.0310.00016.59
5.6.300.0250.00616.57
5.6.290.0250.00916.63
5.6.280.0240.01016.69
5.6.270.0270.00716.90
5.6.260.0250.00416.64
5.6.250.0270.00416.71
5.6.240.0190.01316.69
5.6.230.0220.01016.73
5.6.220.0310.00716.84
5.6.210.0280.00616.50
5.6.200.0240.01016.74
5.6.190.0220.00316.81
5.6.180.0210.00816.89
5.6.170.0210.00416.91
5.6.160.0180.01116.90
5.6.150.0230.01016.72
5.6.140.0190.00816.70
5.6.130.0160.01016.75
5.6.120.0220.00317.02
5.6.110.0130.01316.56
5.6.100.0170.01416.74
5.6.90.0260.00416.50
5.6.80.0220.00716.67
5.6.70.0170.00717.09
5.6.60.0260.00316.81
5.6.50.0250.00916.84
5.6.40.0180.01116.77
5.6.30.0250.00316.84
5.6.20.0240.00616.56
5.6.10.0220.00616.75
5.6.00.0200.00316.64
5.5.380.0220.00716.77
5.5.370.0240.00716.94
5.5.360.0310.00416.53
5.5.350.0220.01116.51
5.5.340.0300.00416.56
5.5.330.0240.00916.66
5.5.320.0310.00416.34
5.5.310.0200.00916.60
5.5.300.0220.00416.51
5.5.290.0210.00416.65
5.5.280.0190.00616.80
5.5.270.0280.00616.45
5.5.260.0390.00016.59
5.5.250.0240.00716.54
5.5.240.0160.01316.53
5.5.230.0210.01016.42
5.5.220.0250.00716.68
5.5.210.0220.00316.75
5.5.200.0190.00616.81
5.5.190.0210.01416.59
5.5.180.0190.00516.65
5.5.170.0180.00616.57
5.5.160.0280.00616.23
5.5.150.0240.01016.63
5.5.140.0260.00016.36
5.5.130.0170.00916.47
5.5.120.0180.01116.30
5.5.110.0280.00516.47
5.5.100.0320.00716.60
5.5.90.0360.00716.62
5.5.80.0270.00416.37
5.5.70.0230.00716.49
5.5.60.0180.00716.55
5.5.50.0200.00316.73
5.5.40.0260.00416.40
5.5.30.0250.00416.53
5.5.20.0260.00316.69
5.5.10.0270.00316.55
5.5.00.0160.00916.79
5.4.450.0200.00016.07
5.4.440.0180.00416.07
5.4.430.0240.00016.07
5.4.420.0210.00316.07
5.4.410.0230.00316.07
5.4.400.0200.00316.07
5.4.390.0210.00316.07
5.4.380.0180.00716.07
5.4.370.0180.00616.07
5.4.360.0110.01116.07
5.4.350.0260.00416.07
5.4.340.0140.00716.07
5.4.330.0190.00616.07
5.4.320.0210.00716.07
5.4.310.0230.00716.07
5.4.300.0250.00316.07
5.4.290.0230.00616.07
5.4.280.0210.00916.07
5.4.270.0130.00916.07
5.4.260.0160.00816.07
5.4.250.0280.00316.07
5.4.240.0180.00416.07
5.4.230.0250.00616.07
5.4.220.0220.00016.07
5.4.210.0200.00016.07
5.4.200.0180.00416.07
5.4.190.0200.00016.07
5.4.180.0180.00416.07
5.4.170.0180.00416.07
5.4.160.0140.00716.07
5.4.150.0170.00316.07
5.4.140.0180.00316.07
5.4.130.0150.00416.07
5.4.120.0200.00016.07
5.4.110.0150.00616.07
5.4.100.0130.00716.07
5.4.90.0190.00316.07
5.4.80.0150.00416.07
5.4.70.0130.00616.07
5.4.60.0100.00016.07
5.4.50.0150.00316.07
5.4.40.0120.00016.07
5.4.30.0190.00316.07
5.4.20.0110.00416.07
5.4.10.0140.00316.07
5.4.00.0100.00716.07
5.3.290.0110.01116.07
5.3.280.0120.00016.07
5.3.270.0130.00816.07
5.3.260.0100.00316.07
5.3.250.0110.00416.07
5.3.240.0100.00316.07
5.3.230.0070.00716.07
5.3.220.0030.01016.07
5.3.210.0150.00716.07
5.3.200.0030.00916.07
5.3.190.0270.00016.07
5.3.180.0120.00316.07
5.3.170.0060.00916.07
5.3.160.0140.01016.07
5.3.150.0080.00416.07
5.3.140.0030.00916.07
5.3.130.0120.00616.07
5.3.120.0100.00616.07
5.3.110.0180.01116.07
5.3.100.0110.00516.07
5.3.90.0000.01116.07
5.3.80.0030.01216.07
5.3.70.0060.00616.07
5.3.60.0100.00016.07
5.3.50.0100.00016.07
5.3.40.0070.00316.07
5.3.30.0000.01116.07
5.3.20.0120.00016.07
5.3.10.0000.01216.07
5.3.00.0080.00416.07
5.2.170.0060.00316.07
5.2.160.0150.00416.07
5.2.150.0110.00016.07
5.2.140.0080.00516.07
5.2.130.0040.00716.07
5.2.120.0090.00416.07
5.2.110.0060.00316.07
5.2.100.0070.00416.07
5.2.90.0090.00016.07
5.2.80.0090.00916.07
5.2.70.0060.00316.07
5.2.60.0130.00416.07
5.2.50.0060.00316.07
5.2.40.0040.01216.07
5.2.30.0130.00516.07
5.2.20.0150.00016.07
5.2.10.0120.00416.07
5.2.00.0110.00416.07
5.1.60.0140.00316.07
5.1.50.0160.00016.07
5.1.40.0150.00416.07
5.1.30.0090.00916.07
5.1.20.0170.00316.07
5.1.10.0150.00316.07
5.1.00.0130.00316.07
5.0.50.0140.00016.07
5.0.40.0110.00416.07
5.0.30.0100.00616.07
5.0.20.0090.00516.07
5.0.10.0080.00816.07
5.0.00.0050.01016.07
4.4.90.0080.00016.07
4.4.80.0100.00016.07
4.4.70.0110.00016.07
4.4.60.0100.00016.07
4.4.50.0100.00016.07
4.4.40.0080.00316.07
4.4.30.0050.00516.07
4.4.20.0100.00016.07
4.4.10.0050.00516.07
4.4.00.0100.00016.07
4.3.110.0110.00016.07
4.3.100.0000.01016.07
4.3.90.0130.00016.07
4.3.80.0000.01016.07
4.3.70.0080.00316.07
4.3.60.0100.00016.07
4.3.50.0090.00316.07
4.3.40.0100.00016.07
4.3.30.0020.00516.07
4.3.20.0060.00016.07
4.3.10.0060.00016.07
4.3.00.0060.00016.07

preferences:
52.17 ms | 403 KiB | 5 Q