3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function (string $toto): string { return 'xx'; } }

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)
5.6.150.0070.08018.15
5.6.140.0130.05018.18
5.6.130.0100.08718.20
5.6.120.0230.06321.01
5.6.110.0170.08020.97
5.6.100.0100.04321.11
5.6.90.0070.05020.98
5.6.80.0000.04020.37
5.5.300.0030.07017.99
5.5.290.0130.03017.97
5.5.280.0100.07020.87
5.5.270.0030.06720.86
5.5.260.0030.08720.88
5.5.250.0070.09020.57
5.5.240.0300.07320.27

preferences:
124.47 ms | 1398 KiB | 7 Q