3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function something(int $int, string $string): string { return "{$string} {$int}"; } something(9000, “Hello world >“); // Hello world > 9000

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.0130.05018.17
5.6.140.0070.08018.15
5.6.130.0070.08718.15
5.6.120.0070.05321.01
5.6.110.0170.07020.99
5.6.100.0070.04021.04
5.6.90.0070.04021.00
5.6.80.0170.06720.54
5.5.300.0100.04017.99
5.5.290.0070.05018.08
5.5.280.0000.08320.80
5.5.270.0100.05020.87
5.5.260.0130.04720.84
5.5.250.0100.07720.61
5.5.240.0330.07320.26

preferences:
144.1 ms | 1394 KiB | 7 Q