3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = []; $ar['a'] = &$ar['b']; $ar['b'] = 1;

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.00716.63
8.3.50.0120.00616.47
8.3.40.0120.00318.71
8.3.30.0050.00918.50
8.3.20.0040.00420.33
8.3.10.0070.00021.86
8.3.00.0030.00619.26
8.2.180.0100.00318.16
8.2.170.0110.00422.96
8.2.160.0130.00620.47
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0080.00019.27
8.2.120.0070.00026.35
8.2.110.0040.00420.97
8.2.100.0080.00418.28
8.2.90.0000.00719.05
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00817.80
8.2.50.0030.00618.10
8.2.40.0040.00420.72
8.2.30.0030.00621.04
8.2.20.0070.00018.00
8.2.10.0040.00418.05
8.2.00.0000.00718.07
8.1.280.0140.00325.92
8.1.270.0050.00222.01
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.89
8.1.230.0060.00619.16
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0090.00017.25
8.1.180.0000.00818.10
8.1.170.0050.00219.15
8.1.160.0030.00519.06
8.1.150.0040.00420.61
8.1.140.0070.00019.44
8.1.130.0030.00318.81
8.1.120.0030.00317.41
8.1.110.0050.00317.31
8.1.100.0040.00417.28
8.1.90.0070.00017.30
8.1.80.0000.00717.29
8.1.70.0070.00017.40
8.1.60.0080.00017.47
8.1.50.0040.00417.34
8.1.40.0050.00217.49
8.1.30.0040.00417.48
8.1.20.0070.00017.52
8.1.10.0030.00517.55
8.1.00.0000.00717.50
8.0.300.0020.00518.77
8.0.290.0080.00016.58
8.0.280.0000.00818.38
8.0.270.0000.00817.08
8.0.260.0000.00716.63
8.0.250.0040.00416.92
8.0.240.0070.00016.77
8.0.230.0030.00516.84
8.0.220.0000.00716.89
8.0.210.0000.00716.81
8.0.200.0000.00616.95
8.0.190.0040.00416.86
8.0.180.0040.00416.81
8.0.170.0030.00416.92
8.0.160.0050.00216.80
8.0.150.0000.00716.73
8.0.140.0080.00016.80
8.0.130.0000.00613.35
8.0.120.0040.00416.79
8.0.110.0000.00716.63
8.0.100.0040.00416.79
8.0.90.0040.00416.69
8.0.80.0070.01616.70
8.0.70.0070.00016.73
8.0.60.0040.00416.78
8.0.50.0040.00416.73
8.0.30.0060.01117.03
8.0.20.0120.00717.40
8.0.10.0000.00816.84
8.0.00.0090.00916.63
7.4.330.0030.00315.55
7.4.320.0060.00016.52
7.4.300.0060.00016.50
7.4.290.0030.00316.62
7.4.280.0040.00416.44
7.4.270.0050.00316.44
7.4.260.0070.00016.52
7.4.250.0040.00416.49
7.4.240.0000.00916.36
7.4.230.0040.00416.57
7.4.220.0000.01716.52
7.4.210.0110.00316.63
7.4.200.0030.00316.42
7.4.160.0110.00516.45
7.4.150.0060.01317.40
7.4.140.0110.01017.86
7.4.130.0090.01416.31
7.4.120.0110.00816.48
7.4.110.0040.01416.54
7.4.100.0040.01416.28
7.4.90.0030.01616.34
7.4.80.0090.01219.39
7.4.70.0060.01016.42
7.4.60.0150.00616.29
7.4.50.0030.01216.52
7.4.40.0070.01016.23
7.4.30.0060.00916.34
7.4.00.0030.01014.77
7.3.330.0000.00512.94
7.3.320.0050.00013.18
7.3.310.0020.00516.07
7.3.300.0070.00016.11
7.3.290.0110.00616.19
7.3.280.0100.00516.17
7.3.270.0130.00717.40
7.3.260.0120.00516.38
7.3.250.0130.00616.39
7.3.240.0100.01016.18
7.3.230.0000.01616.16
7.3.210.0120.00616.23
7.3.200.0060.01116.27
7.3.190.0070.01016.17
7.3.180.0130.00416.33
7.3.170.0130.00716.27
7.3.160.0070.01016.51
7.3.10.0110.01016.15
7.3.00.0190.00616.11
7.2.330.0170.00016.37
7.2.320.0090.01516.32
7.2.310.0110.00616.65
7.2.300.0090.00916.77
7.2.290.0140.00316.47
7.2.130.0160.00516.54
7.2.120.0100.00716.60
7.2.110.0130.00816.55
7.2.100.0150.00616.56
7.2.90.0100.00816.32
7.2.80.0070.01016.52
7.2.70.0140.00416.24
7.2.60.0110.00616.82
7.2.50.0160.00416.56
7.2.40.0150.00816.57
7.2.30.0130.00716.55
7.2.20.0090.01216.47
7.2.10.0170.00216.36
7.2.00.0120.00617.52
7.1.250.0090.00915.25
7.1.200.0000.01215.57
7.1.100.0040.01117.91
7.1.70.0030.01417.03
7.1.60.0220.01135.18
7.1.50.0290.00334.41
7.1.40.0170.01434.29
7.1.30.0150.02134.28
7.1.20.0310.00634.64
7.1.10.0070.00916.38
7.1.00.0030.01516.71
7.0.200.0160.00216.82
7.0.190.0130.00316.34
7.0.180.0060.01216.34
7.0.170.0080.01116.29
7.0.160.0040.01616.10
7.0.150.0100.01016.08
7.0.140.0070.00716.16
7.0.130.0090.00816.32
7.0.120.0130.01116.43
7.0.110.0090.00916.24
7.0.100.0120.00616.09
7.0.90.0090.01116.15
7.0.80.0120.00316.31
7.0.70.0060.01216.42
7.0.60.0130.00615.97
7.0.50.0000.01816.17
7.0.40.0040.01816.30
7.0.30.0090.01016.45
7.0.20.0080.01216.26
7.0.10.0090.00616.39
7.0.00.0070.01116.57

preferences:
32.66 ms | 401 KiB | 5 Q