3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar {} function test(Foo&Bar $arg): 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.5.10.0100.00716.71
8.5.00.0130.00819.79
8.4.150.0020.00014.05
8.4.140.0170.00517.44
8.4.130.0100.01018.91
8.4.120.0140.00719.13
8.4.110.0040.00524.09
8.4.100.0100.00917.57
8.4.90.0120.00920.52
8.4.80.0120.00818.83
8.4.70.0040.00420.69
8.4.60.0130.00720.49
8.4.50.0130.00818.61
8.4.40.0060.01017.57
8.4.30.0180.00020.76
8.4.20.0110.00419.27
8.4.10.0130.00719.26
8.3.280.0130.00918.20
8.3.270.0110.00816.38
8.3.260.0110.01016.54
8.3.250.0050.00516.39
8.3.240.0100.00916.32
8.3.230.0080.01016.26
8.3.220.0070.00718.97
8.3.210.0070.00516.73
8.3.200.0100.00916.71
8.3.190.0100.00518.93
8.3.180.0110.00818.59
8.3.170.0150.00618.93
8.3.160.0080.01118.57
8.3.150.0060.01216.45
8.3.140.0000.00816.46
8.3.130.0090.00616.65
8.3.120.0060.00320.71
8.3.110.0210.00922.58
8.3.100.0360.00922.58
8.3.90.0330.01022.58
8.3.80.0390.00822.58
8.3.70.0340.00822.58
8.3.60.0340.00622.58
8.3.50.0360.00522.58
8.3.40.0270.00522.58
8.3.30.0260.00622.58
8.3.20.0240.00322.58
8.3.10.0210.00422.58
8.3.00.0110.00422.58
8.2.290.0140.00616.57
8.2.280.0110.00819.94
8.2.270.0120.00618.40
8.2.260.0070.00016.38
8.2.250.0060.00318.44
8.2.240.0100.01016.89
8.2.230.0120.00822.58
8.2.220.0240.00422.58
8.2.210.0230.00722.58
8.2.200.0220.00522.58
8.2.190.0220.00722.58
8.2.180.0240.00622.58
8.2.170.0310.00522.58
8.2.160.0260.00922.58
8.2.150.0290.00822.58
8.2.140.0280.00622.58
8.2.130.0260.00922.58
8.2.120.0340.00822.58
8.2.110.0280.00622.58
8.2.100.0270.00822.58
8.2.90.0300.00822.58
8.2.80.0340.00622.58
8.2.70.0350.00622.58
8.2.60.0340.00722.58
8.2.50.0350.00722.58
8.2.40.0330.00722.58
8.2.30.0320.01122.58
8.2.20.0370.00722.58
8.2.10.0350.00622.58
8.2.00.0280.01122.58
8.1.330.0120.00716.21
8.1.320.0090.01015.90
8.1.310.0040.00417.66
8.1.300.0000.00818.37
8.1.290.0230.00922.58
8.1.280.0300.01222.58
8.1.270.0320.00422.58
8.1.260.0320.00522.58
8.1.250.0260.00522.58
8.1.240.0240.00722.58
8.1.230.0260.00622.58
8.1.220.0270.00522.58
8.1.210.0250.00522.58
8.1.200.0200.00622.58
8.1.190.0240.00322.58
8.1.180.0210.00822.58
8.1.170.0260.00222.58
8.1.160.0250.00422.58
8.1.150.0270.00922.58
8.1.140.0300.00422.58
8.1.130.0270.00922.58
8.1.120.0290.00322.58
8.1.110.0300.00622.58
8.1.100.0310.00522.58
8.1.90.0270.00522.58
8.1.80.0260.00722.58
8.1.70.0300.00522.58
8.1.60.0280.00622.58
8.1.50.0320.00922.58
8.1.40.0250.00422.58
8.1.30.0260.00522.58
8.1.20.0300.00722.58
8.1.10.0280.00622.58
8.1.00.0350.00822.58

preferences:
64.94 ms | 403 KiB | 5 Q