3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = new SplObjectStorage(); $hash[array(1, 2, 'three')] = "jim jones"; echo $hash[array(1, 2, 'three')]; ?>

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.70.0100.00718.30
8.3.60.0180.00016.75
8.3.50.0160.00321.92
8.3.40.0070.00718.76
8.3.30.0110.00418.93
8.3.20.0040.00420.00
8.3.10.0080.00023.65
8.3.00.0040.00419.38
8.2.190.0040.01516.58
8.2.180.0040.01118.43
8.2.170.0030.01022.96
8.2.160.0110.00420.38
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0090.00317.50
8.2.120.0090.00026.35
8.2.110.0060.00320.52
8.2.100.0080.00417.80
8.2.90.0060.00319.28
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0030.00517.91
8.2.50.0030.00518.07
8.2.40.0000.00719.25
8.2.30.0040.00420.50
8.2.20.0040.00417.61
8.2.10.0000.00818.00
8.2.00.0050.00317.98
8.1.280.0060.01225.92
8.1.270.0060.00322.21
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0030.00622.35
8.1.230.0090.00317.66
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0000.01017.35
8.1.180.0000.00918.10
8.1.170.0030.00618.65
8.1.160.0040.00421.96
8.1.150.0070.00018.86
8.1.140.0040.00419.60
8.1.130.0000.00717.54
8.1.120.0040.00417.43
8.1.110.0070.00017.30
8.1.100.0030.00517.30
8.1.90.0040.00417.37
8.1.80.0040.00417.34
8.1.70.0050.00317.40
8.1.60.0040.00417.49
8.1.50.0000.00817.51
8.1.40.0000.01317.37
8.1.30.0030.00617.56
8.1.20.0080.00017.50
8.1.10.0000.00717.60
8.1.00.0030.00517.44
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.39
8.0.270.0030.00417.19
8.0.260.0030.00317.21
8.0.250.0000.00817.00
8.0.240.0080.00016.95
8.0.230.0030.00316.97
8.0.220.0040.00416.91
8.0.210.0030.00316.90
8.0.200.0000.00617.03
8.0.190.0080.00416.88
8.0.180.0000.00716.96
8.0.170.0000.00816.98
8.0.160.0050.00216.97
8.0.150.0080.00016.70
8.0.140.0000.01016.82
8.0.130.0040.00413.36
8.0.120.0000.00816.77
8.0.110.0050.00316.86
8.0.100.0050.00216.76
8.0.90.0030.00516.71
8.0.80.0120.00616.93
8.0.70.0000.00816.91
8.0.60.0050.00316.78
8.0.50.0070.00016.71
8.0.30.0110.00516.96
8.0.20.0060.01217.41
8.0.10.0080.00016.98
8.0.00.0090.00916.77
7.4.330.0050.00015.08
7.4.320.0060.00016.41
7.4.300.0000.00616.38
7.4.290.0000.00716.46
7.4.280.0000.00716.54
7.4.270.0030.00316.46
7.4.260.0000.00716.35
7.4.250.0080.00016.45
7.4.240.0050.00316.30
7.4.230.0000.00716.65
7.4.220.0070.01116.39
7.4.210.0060.01316.55
7.4.200.0030.00316.32
7.4.160.0060.01016.52
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0090.00916.37
7.4.120.0120.00716.59
7.4.110.0160.00316.45
7.4.100.0130.01016.45
7.4.90.0100.00716.32
7.4.80.0070.01019.39
7.4.70.0030.01316.32
7.4.60.0180.00416.29
7.4.50.0040.00416.41
7.4.40.0110.00816.64
7.4.30.0150.00616.50
7.4.00.0140.00315.15
7.3.330.0060.00013.02
7.3.320.0050.00013.19
7.3.310.0040.00416.26
7.3.300.0040.00416.31
7.3.290.0100.00716.37
7.3.280.0100.00616.31
7.3.270.0130.00317.40
7.3.260.0120.00916.32
7.3.250.0080.01116.26
7.3.240.0070.01216.37
7.3.230.0060.01516.39
7.3.210.0130.00316.43
7.3.200.0060.01216.54
7.3.190.0070.01416.35
7.3.180.0110.00716.28
7.3.170.0120.00916.60
7.3.160.0090.00916.56
7.2.330.0100.01016.38
7.2.320.0120.01216.69
7.2.310.0130.00316.81
7.2.300.0030.01316.84
7.2.290.0100.00716.73
7.2.00.0090.00919.62
7.1.100.0030.00817.95
7.1.70.0080.00017.09
7.1.60.0100.00716.86
7.1.50.0150.00616.80
7.1.00.0100.07022.54
7.0.200.0070.00716.61
7.0.60.0030.04319.82
7.0.50.0070.04017.90
7.0.40.0100.08020.30
7.0.30.0170.05020.04
7.0.20.0270.05020.09
7.0.10.0130.08020.01
7.0.00.0030.04320.16
5.6.280.0030.07720.90
5.6.210.0030.04020.66
5.6.200.0070.05018.13
5.6.190.0170.06320.43
5.6.180.0270.08320.27
5.6.170.0330.07020.47
5.6.160.0130.04720.33
5.6.150.0070.04718.16
5.6.140.0030.03718.18
5.6.130.0000.09018.21
5.6.120.0100.05321.00
5.6.110.0030.08020.95
5.6.100.0070.08321.06
5.6.90.0070.08321.09
5.6.80.0130.06320.52
5.5.350.2900.04320.45
5.5.340.0070.05318.02
5.5.330.0070.08320.13
5.5.320.0230.06720.27
5.5.310.0170.06020.27
5.5.300.0000.04017.88
5.5.290.0030.04717.93
5.5.280.0000.04320.87
5.5.270.0070.04320.87
5.5.260.0170.07320.86
5.5.250.0030.08720.45
5.5.240.0230.06720.06

preferences:
46.18 ms | 401 KiB | 5 Q