3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () { throw new Exception("foo"); }); class MyArrayAcess implements ArrayAccess { public function offsetExists(mixed $offset): mixed {} public function offsetGet(mixed $offset): mixed {} public function offsetSet(mixed $offset, mixed $value): void {} public function offsetUnset(mixed $offset): void {} }

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.0060.00324.16
8.4.110.0160.00522.79
8.4.100.0080.00917.77
8.4.90.0110.01018.93
8.4.80.0050.00317.95
8.4.70.0090.00817.95
8.4.60.0050.01018.80
8.4.50.0100.01019.52
8.4.40.0060.00617.89
8.4.30.0100.01020.19
8.4.20.0170.00317.74
8.4.10.0060.01317.80
8.3.250.0130.00618.85
8.3.240.0080.01017.09
8.3.230.0100.00916.68
8.3.220.0070.00418.97
8.3.210.0080.00816.61
8.3.200.0070.00216.49
8.3.190.0090.01017.18
8.3.180.0140.00616.86
8.3.170.0090.00918.65
8.3.160.0120.00616.66
8.3.150.0180.00017.43
8.3.140.0050.00320.60
8.3.130.0040.00418.55
8.3.120.0100.00020.81
8.3.110.0050.00520.94
8.3.100.0090.00016.74
8.3.90.0050.00326.77
8.3.80.0030.00616.63
8.3.70.0100.00616.73
8.3.60.0160.00316.75
8.3.50.0090.00918.25
8.3.40.0110.00719.19
8.3.30.0130.00318.90
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0120.00820.55
8.2.280.0060.00318.38
8.2.270.0110.00717.04
8.2.260.0130.00618.90
8.2.250.0030.00616.83
8.2.240.0060.00317.17
8.2.230.0070.00422.58
8.2.220.0090.00624.06
8.2.210.0040.00726.77
8.2.200.0060.00316.88
8.2.190.0030.01016.58
8.2.180.0070.00725.92
8.2.170.0100.01018.91
8.2.160.0140.00022.96
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00819.70
8.2.110.0070.00319.39
8.2.100.0070.00417.91
8.2.90.0000.00818.03
8.2.80.0050.00319.19
8.2.70.0040.00417.50
8.2.60.0080.00017.63
8.2.50.0060.00317.63
8.2.40.0070.00618.15
8.2.30.0030.00918.08
8.2.20.0080.00518.97
8.2.10.0090.00318.26
8.2.00.0080.00518.93
8.1.330.0120.00621.85
8.1.320.0100.00916.46
8.1.310.0150.00416.38
8.1.300.0030.00520.00
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00722.42
8.1.230.0090.00320.89
8.1.220.0040.00417.74
8.1.210.0050.00318.96
8.1.200.0040.00417.35
8.1.190.0050.00317.23
8.1.180.0030.00618.10
8.1.170.0100.00718.36
8.1.160.0060.00618.61
8.1.150.0070.00518.39
8.1.140.0050.00718.00
8.1.130.0050.00618.62
8.1.120.0060.00617.86
8.1.110.0090.00517.91
8.1.100.0120.00118.01
8.1.90.0050.00617.84
8.1.80.0060.00617.88
8.1.70.0070.00417.83
8.1.60.0040.00818.01
8.1.50.0130.00417.76
8.1.40.0080.00618.03
8.1.30.0090.00418.02
8.1.20.0100.00418.16
8.1.10.0040.00617.71
8.1.00.0070.00617.75
8.0.300.0000.00820.05
8.0.290.0060.00316.75
8.0.280.0070.00517.82
8.0.270.0120.00017.41
8.0.260.0080.00318.02
8.0.250.0110.00217.34
8.0.240.0060.00517.20
8.0.230.0080.00317.27
8.0.220.0060.00517.21
8.0.210.0080.00317.21
8.0.200.0050.00717.40
8.0.190.0060.00717.27
8.0.180.0060.00617.23
8.0.170.0090.00317.26
8.0.160.0070.00517.25
8.0.150.0000.01117.23
8.0.140.0090.00517.25
8.0.130.0140.00215.87
8.0.120.0120.00615.83
8.0.110.0120.00615.91
8.0.100.0120.00515.91
8.0.90.0120.00515.87
8.0.80.0090.00815.93
8.0.70.0140.00415.95
8.0.60.0130.00315.88
8.0.50.0150.00115.85
8.0.30.0150.00115.91
8.0.20.0130.00415.97
8.0.10.0140.00316.07
8.0.00.0060.00616.12
7.4.330.0060.00216.58
7.4.320.0100.00217.10
7.4.300.0040.00717.08
7.4.290.0070.00516.95
7.4.280.0110.00417.04
7.4.270.0060.00617.00
7.4.260.0100.00216.82
7.4.250.0120.00415.76
7.4.240.0140.00515.73
7.4.230.0090.00515.77
7.4.220.0110.00515.76
7.4.210.0120.00615.80
7.4.200.0120.00515.77
7.4.190.0140.00415.69
7.4.180.0170.00015.76
7.4.160.0120.00415.82
7.4.150.0110.00315.73
7.4.140.0120.00515.68
7.4.130.0150.00115.62
7.4.120.0120.00615.68
7.4.110.0120.00615.71
7.4.100.0130.00515.75
7.4.90.0160.00315.70
7.4.80.0150.00715.61
7.4.70.0130.00415.67
7.4.60.0110.00615.62
7.4.50.0090.00615.71
7.4.40.0110.00415.62
7.4.30.0100.00615.65
7.4.20.0110.00515.72
7.4.10.0110.00415.69
7.4.00.0140.00315.73
7.3.330.0140.00216.73
7.3.320.0140.00215.75
7.3.310.0140.00115.61
7.3.300.0090.00715.72
7.3.290.0100.00615.70
7.3.280.0120.00315.67
7.3.270.0130.00215.65
7.3.260.0140.00315.57
7.3.250.0090.00615.52
7.3.240.0090.00615.59
7.3.230.0090.00515.63
7.3.220.0110.00215.65
7.3.210.0110.00415.58
7.3.200.0120.00215.39
7.3.190.0090.00615.54
7.3.180.0110.00415.46
7.3.170.0110.00415.61
7.3.160.0120.00215.52
7.3.150.0130.00215.38
7.3.140.0090.00715.50
7.3.130.0100.00415.50
7.3.120.0100.00515.47
7.3.110.0130.00215.54
7.3.100.0110.00415.56
7.3.90.0110.00415.77
7.3.80.0130.00215.60
7.3.70.0110.00315.73
7.3.60.0110.00315.57
7.3.50.0120.00315.74
7.3.40.0100.00415.63
7.3.30.0120.00315.79
7.3.20.0150.00317.39
7.3.10.0150.00217.33
7.3.00.0110.00417.28

preferences:
28.57 ms | 403 KiB | 5 Q