3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { } $cache = new Foo(); isset($cache['foo']['bar']);

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.120.0110.00922.32
8.4.110.0070.00222.70
8.4.100.0080.00517.88
8.4.90.0120.00917.95
8.4.80.0050.00318.21
8.4.70.0130.00817.96
8.4.60.0070.00217.71
8.4.50.0070.00418.61
8.4.40.0100.01020.50
8.4.30.0110.01120.53
8.4.20.0100.00718.00
8.4.10.0080.00422.10
8.3.250.0050.00318.80
8.3.240.0040.00416.58
8.3.230.0100.01116.80
8.3.220.0120.00717.09
8.3.210.0110.01016.73
8.3.200.0120.00716.75
8.3.190.0040.00416.48
8.3.180.0040.00418.57
8.3.170.0040.01518.89
8.3.160.0130.00718.63
8.3.150.0080.00016.64
8.3.140.0090.00917.12
8.3.130.0040.00418.52
8.3.120.0000.00920.91
8.3.110.0070.00716.71
8.3.100.0040.00418.54
8.3.90.0040.00426.77
8.3.80.0000.00918.16
8.3.70.0150.00616.87
8.3.60.0120.00618.27
8.3.50.0070.00718.40
8.3.40.0170.00322.07
8.3.30.0110.00718.80
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.290.0060.00320.51
8.2.280.0120.00918.34
8.2.270.0160.00318.86
8.2.260.0180.00016.66
8.2.250.0040.00416.58
8.2.240.0120.00617.16
8.2.230.0030.01320.94
8.2.220.0120.00024.06
8.2.210.0030.01226.77
8.2.200.0100.00316.88
8.2.190.0060.00916.58
8.2.180.0150.00425.92
8.2.170.0040.01118.94
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0110.00426.16
8.2.120.0000.00719.77
8.2.110.0030.00720.40
8.2.100.0030.00917.90
8.2.90.0040.00417.75
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0040.00417.63
8.2.50.0040.00418.05
8.2.40.0050.00320.01
8.2.30.0040.00418.05
8.2.20.0040.00419.30
8.2.10.0040.00418.16
8.2.00.0040.00419.31
8.1.330.0040.00416.82
8.1.320.0070.01115.94
8.1.310.0070.00018.29
8.1.300.0100.00616.29
8.1.290.0090.00330.84
8.1.280.0150.00325.92
8.1.270.0040.00424.66
8.1.260.0130.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00523.92
8.1.230.0060.00619.16
8.1.220.0040.00417.75
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0060.00317.62
8.1.160.0100.00019.04
8.1.150.0040.00418.57
8.1.140.0000.00817.30
8.1.130.0000.00718.68
8.1.120.0060.00317.41
8.1.110.0040.00417.39
8.1.100.0000.00717.40
8.1.90.0140.00416.74
8.1.80.0110.00417.20
8.1.70.0100.00517.36
8.1.60.0090.00917.36
8.1.50.0120.00617.52
8.1.40.0160.00317.54
8.1.30.0160.00417.56
8.1.20.0130.00417.61
8.1.10.0150.00417.52
8.1.00.0100.00717.36
8.0.300.0040.00419.77
8.0.290.0030.00716.63
8.0.280.0000.00818.38
8.0.270.0070.00016.74
8.0.260.0060.00018.38
8.0.250.0040.00416.85
8.0.240.0060.00316.86
8.0.230.0040.00416.81
8.0.220.0120.00316.76
8.0.210.0080.00716.63
8.0.200.0050.01016.82
8.0.190.0120.00316.93
8.0.180.0080.00816.68
8.0.170.0110.00316.89
8.0.160.0130.00216.88
8.0.150.0050.00816.58
8.0.140.0100.00416.78
8.0.130.0080.00416.75
8.0.120.0080.00216.86
8.0.110.0130.00016.83
8.0.100.0070.00716.79
8.0.90.0070.00716.68
8.0.80.0130.00316.79
8.0.70.0110.00416.77
8.0.60.0090.00516.68
8.0.50.0130.00016.79
8.0.30.0100.00516.84
8.0.20.0090.00316.85
8.0.10.0120.00016.88
7.4.330.0000.00515.55
7.4.320.0060.00016.52
7.4.300.0140.00316.48
7.4.290.0060.01216.38
7.4.280.0110.00516.55
7.4.270.0130.00016.58
7.4.260.0110.00416.54
7.4.250.0170.00016.59
7.4.240.0150.00016.35
7.4.230.0070.00216.30
7.4.220.0080.00216.32
7.4.210.0070.00316.37
7.4.200.0050.00516.49
7.4.190.0030.00716.14
7.4.180.0060.00416.41
7.4.160.0030.00816.34
7.4.150.0000.01016.39
7.4.140.0030.00816.20
7.4.130.0050.00516.38
7.4.120.0070.00415.96
7.4.110.0050.00516.08
7.4.100.0050.00516.42
7.4.90.0040.00716.40
7.4.80.0110.00016.38
7.4.70.0080.00216.53
7.4.60.0000.01016.40
7.4.50.0100.00016.36
7.4.40.0070.00315.93
7.4.30.0050.00516.40
7.4.20.0110.00016.29
7.4.10.0100.00016.32
7.4.00.0030.00816.16

preferences:
29.12 ms | 403 KiB | 5 Q