3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function concat(string $separator = ' ', string ...$strings): string { return implode($separator, $strings); } echo concat(':', 'One', 'Two', 'Three') . "\n"; echo concat(default, '1', '2', '3');

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.0000.05718.19
5.6.140.0000.08318.29
5.6.130.0070.06018.25
5.6.120.0030.04020.97
5.6.110.0100.06720.95
5.6.100.0200.06320.98
5.6.90.0130.08021.14
5.6.80.0000.05320.40
5.5.300.0030.07317.99
5.5.290.0170.08018.07
5.5.280.0170.07720.90
5.5.270.0000.07020.73
5.5.260.0100.07020.88
5.5.250.0070.06720.69
5.5.240.3230.04320.26

preferences:
162.53 ms | 1398 KiB | 7 Q