3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($bar = new DateTimeImmutabe('now')) { } $rf = new \ReflectionFunction('foo'); $rp = $rf->getParameters()[0]; var_dump((string) $rp);

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.3.130.0070.00318.39
8.3.120.0130.00618.70
8.3.110.0060.00318.29
8.3.100.0060.00918.01
8.3.50.0070.00318.23
8.2.250.0080.00016.49
8.2.240.0050.00317.38
8.2.230.0060.00318.37
8.2.220.0080.00018.19
8.1.300.0070.00416.15
8.1.80.0060.00317.39

preferences:
24.95 ms | 403 KiB | 5 Q