3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo {} interface Bar {} function name((Foo&Bar)|null $foo): string { return (string) $foo; }

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.30.0060.00317.23
8.5.20.0130.00516.57
8.4.180.0120.00921.31
8.4.170.0150.00721.29
8.4.90.0120.01019.41
8.3.300.0110.00920.03
8.3.180.0120.00718.23
8.3.50.0110.00818.29
8.1.340.0220.01217.33

preferences:
39.69 ms | 473 KiB | 5 Q