3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo(int|null $var): void {} foo("123test");

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.70.0070.01017.07
8.5.60.0110.00617.04
8.5.50.0050.00418.53
8.5.30.0110.00619.73
8.5.20.0090.00817.33
8.5.10.0130.00516.66
8.4.220.0130.00819.68
8.4.210.0020.00719.55
8.4.180.0110.01121.95
8.4.170.0140.00820.38
8.4.160.0140.00720.23
8.4.90.0090.01118.03
8.3.310.0120.00820.23
8.3.300.0140.00618.49
8.3.290.0100.01018.37
8.3.180.0130.00716.80
8.3.50.0110.00816.89
8.2.310.0060.01418.23

preferences:
48.27 ms | 563 KiB | 5 Q