3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { class foo extends bar {} } catch (Throwable) {}

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.20.0110.01117.63
8.4.10.0090.00019.46
8.3.150.0120.00620.83
8.3.140.0040.00421.06
8.3.130.0060.00316.82
8.3.120.0110.00718.92
8.3.110.0070.01120.94
8.3.100.0090.00916.87
8.3.90.0040.01126.77
8.3.80.0030.00617.97
8.3.70.0040.01118.68
8.3.60.0120.00616.75
8.3.50.0090.00916.45
8.3.40.0150.00320.39
8.3.30.0040.01421.83
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.270.0090.00019.06
8.2.260.0050.00316.95
8.2.250.0070.00316.61
8.2.240.0060.00316.94
8.2.230.0000.00822.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0080.00017.00
8.2.190.0150.00318.36
8.2.180.0040.01416.63
8.2.170.0040.01118.79
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00420.99
8.2.110.0110.00322.25
8.2.100.0090.00321.13
8.2.90.0190.00618.77
8.2.80.0130.00718.59
8.2.70.0270.01018.71
8.2.60.0110.00718.84
8.2.50.0310.00618.85
8.2.40.0160.01018.90
8.2.30.0060.00618.69
8.2.20.0100.00718.65
8.2.10.0080.00818.80
8.2.00.0070.01019.07
8.1.310.0060.00916.81
8.1.300.0060.00917.48
8.1.290.0000.00930.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0200.00018.37
8.1.230.0240.00318.20
8.1.220.0240.00318.44
8.1.210.0160.00319.75
8.1.200.0130.00418.41
8.1.190.0150.00018.38
8.1.180.0170.00018.26
8.1.170.0040.00918.61
8.1.160.0160.00018.72
8.1.150.0120.00320.55
8.1.140.0120.00418.56
8.1.130.0100.00718.50
8.1.120.0100.00718.54
8.1.110.0120.00418.35
8.1.100.0170.00018.48
8.1.90.0100.00618.48
8.1.80.0080.00818.44
8.1.70.0200.00318.54
8.1.60.0180.00018.44
8.1.50.0120.00618.63
8.1.40.0160.00018.93
8.1.30.0120.00319.04
8.1.20.0180.00018.73
8.1.10.0070.01118.64
8.1.00.0100.00718.66
8.0.300.0210.01417.79
8.0.290.0150.00317.81
8.0.280.0110.00617.89
8.0.270.0170.01017.86
8.0.260.0040.01317.79
8.0.250.0110.01417.76
8.0.240.0090.00617.83
8.0.230.0250.00318.17
8.0.220.0140.00017.95
8.0.210.0080.00817.73
8.0.200.0240.01018.00
8.0.190.0310.00917.83
8.0.180.0240.01317.83
8.0.170.0210.00618.00
8.0.160.0080.00818.05
8.0.150.0280.00917.64
8.0.140.0310.00618.00
8.0.130.0130.01618.26
8.0.120.0210.01417.75
8.0.110.0250.00617.84
8.0.100.0280.00617.86
8.0.90.0270.00317.68
8.0.80.0240.01417.81
8.0.70.0220.01117.80
8.0.60.0220.01317.83
8.0.50.0230.00617.94
8.0.30.0260.00317.95
8.0.20.0230.01317.82
8.0.10.0290.00718.04

preferences:
28 ms | 402 KiB | 5 Q