3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Performance { private static $measurements = []; public static 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.0170.05320.19
7.0.10.0100.08720.08
7.0.00.0100.08720.13
5.6.170.0030.04020.51
5.6.160.0000.04720.44
5.6.150.0000.05318.22
5.6.140.0100.08318.24
5.6.130.0030.04018.28
5.6.120.0030.08721.01
5.6.110.0030.06720.89
5.6.100.0100.06320.97
5.6.90.0070.07320.96
5.6.80.0100.07320.48
5.5.310.0200.09020.34
5.5.300.0070.07317.98
5.5.290.0100.06018.04
5.5.280.0100.04720.87
5.5.270.0100.08020.64
5.5.260.0170.03720.96
5.5.250.0070.07320.60
5.5.240.0130.04020.11

preferences:
142.12 ms | 1394 KiB | 7 Q