3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function a(Foo $a): void; public function b(Foo $b): void; } class Bar implements Foo { public function a(Foo $a):void {} public function b($b):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.0100.01120.91
8.4.110.0090.00922.27
8.4.100.0150.00517.70
8.4.90.0130.00718.45
8.4.80.0040.00517.73
8.4.70.0170.00517.58
8.4.60.0100.01018.67
8.4.50.0060.00317.58
8.4.40.0070.00317.34
8.4.30.0090.00924.21
8.4.20.0050.00319.66
8.4.10.0060.00319.18
8.3.250.0120.00418.86
8.3.240.0060.00216.42
8.3.230.0030.00916.40
8.3.220.0110.00717.07
8.3.210.0090.00616.56
8.3.200.0050.00416.41
8.3.190.0040.00517.11
8.3.180.0100.00916.38
8.3.170.0120.00617.41
8.3.160.0030.01418.76
8.3.150.0130.00617.07
8.3.140.0030.00618.32
8.3.130.0060.00318.65
8.3.120.0060.00318.73
8.3.110.0110.00817.47
8.3.100.0080.00018.59
8.3.50.0150.00418.25
8.2.290.0110.00822.15
8.2.280.0050.00620.20
8.2.270.0140.00416.70
8.2.260.0040.00416.95
8.2.250.0070.00316.31
8.2.240.0050.00318.32
8.2.230.0130.00318.35
8.2.220.0130.00618.28
8.1.330.0120.00621.92
8.1.320.0100.00915.61
8.1.310.0000.01816.36
8.1.300.0050.00318.37

preferences:
30.21 ms | 403 KiB | 5 Q