3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Performance { private static $measurements = []; public static function createMeasurement() { // ... } } class yoMama extends Performance{ public static function getThatTestShit(){ return self::$measurements } } echo yoMama::getThatTestShit();

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)
7.0.20.0330.07020.21
7.0.10.0100.07720.21
7.0.00.0100.05720.23
5.6.170.0300.07320.62
5.6.160.0170.04020.39
5.6.150.0100.04718.29
5.6.140.0070.06718.18
5.6.130.0070.03718.28
5.6.120.0070.08720.99
5.6.110.0130.06020.98
5.6.100.0030.09321.01
5.6.90.0130.07720.88
5.6.80.0070.08320.43
5.5.310.0230.05720.36
5.5.300.0030.04018.01
5.5.290.0130.05017.95
5.5.280.0070.08720.88
5.5.270.0070.08320.76
5.5.260.0030.07720.86
5.5.250.0070.09020.45
5.5.240.0370.06020.25

preferences:
145.89 ms | 1394 KiB | 7 Q