3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar(mixed $arg); } class T implements Foo { public function bar(...$args) { var_dump($args); } } $o = new T(); $o->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.5.20.0080.00920.16
8.5.10.0140.00916.66
8.5.00.0110.01019.84
8.4.170.0160.00621.83
8.4.160.0160.00921.96
8.4.150.0020.00114.05
8.4.140.0130.00817.80
8.4.130.0110.00917.88
8.4.120.0130.00622.21
8.4.110.0120.00818.73
8.4.100.0110.01017.58
8.4.90.0120.00720.71
8.4.80.0130.00618.73
8.4.70.0090.01020.41
8.4.60.0150.00520.60
8.4.50.0030.00518.63
8.4.40.0160.00319.40
8.4.30.0090.00918.84
8.4.20.0130.00719.38
8.4.10.0050.00319.43
8.3.300.0120.00918.32
8.3.290.0130.01020.82
8.3.280.0100.01018.34
8.3.270.0090.01016.54
8.3.260.0120.00716.57
8.3.250.0080.00718.93
8.3.240.0120.00416.49
8.3.230.0100.00916.46
8.3.220.0070.01018.86
8.3.210.0110.00616.74
8.3.200.0070.00216.26
8.3.190.0100.00918.85
8.3.180.0050.00318.75
8.3.170.0090.00017.09
8.3.160.0140.00420.74
8.3.150.0130.00617.09
8.3.140.0080.00020.91
8.3.130.0070.00718.34
8.3.120.0000.00818.86
8.3.110.0050.00316.65
8.3.100.0030.00716.75
8.3.90.0460.00626.77
8.3.80.0250.01426.77
8.3.70.0140.01026.77
8.3.60.0180.00426.77
8.3.50.0170.00326.77
8.3.40.0100.00826.77
8.3.30.0210.00726.77
8.3.20.0140.01426.77
8.3.10.0120.00326.77
8.3.00.0230.00826.77
8.2.300.0110.01020.31
8.2.290.0110.00717.15
8.2.280.0130.00718.14
8.2.270.0120.00616.54
8.2.260.0040.01117.10
8.2.250.0040.00416.78
8.2.240.0040.00717.11
8.2.230.0150.00420.94
8.2.220.0040.00424.06
8.2.210.0190.00626.77
8.2.200.0200.00726.77
8.2.190.0160.00526.77
8.2.180.0170.00026.77
8.2.170.0170.00626.77
8.2.160.0240.00626.77
8.2.150.0160.00026.77
8.2.140.0130.00426.77
8.2.130.0130.00526.77
8.2.120.0130.00426.77
8.2.110.0090.00626.77
8.2.100.0150.00026.77
8.2.90.0140.00326.77
8.2.80.0130.00426.77
8.2.70.0100.00526.77
8.2.60.0120.00426.77
8.2.50.0140.00326.77
8.2.40.0070.01326.77
8.2.30.0140.00026.77
8.2.20.0130.00026.77
8.2.10.0210.00026.77
8.2.00.0080.00826.77
8.1.340.0120.00820.43
8.1.330.0140.00515.93
8.1.320.0090.01118.14
8.1.310.0070.00716.54
8.1.300.0030.01017.93
8.1.290.0150.00026.77
8.1.280.0160.00326.77
8.1.270.0230.00426.77
8.1.260.0160.00026.77
8.1.250.0080.00826.77
8.1.240.0150.00026.77
8.1.230.0050.01026.77
8.1.220.0040.01226.77
8.1.210.0160.00026.77
8.1.200.0140.00026.77
8.1.190.0150.00026.77
8.1.180.0070.00726.77
8.1.170.0170.00026.77
8.1.160.0150.00526.77
8.1.150.0220.00426.77
8.1.140.0200.00426.77
8.1.130.0150.00426.77
8.1.120.0200.00226.77
8.1.110.0160.00026.77
8.1.100.0120.00426.77
8.1.90.0130.00326.77
8.1.80.0150.00326.77
8.1.70.0170.00726.77
8.1.60.0210.00426.77
8.1.50.0160.00426.77
8.1.40.0080.00826.77
8.1.30.0100.01026.77
8.1.20.0160.01026.77
8.1.10.0210.00326.77
8.1.00.0140.00526.77

preferences:
28.79 ms | 403 KiB | 5 Q