3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function __construct() { var_dump(new A); } } new A;

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.0270.07720.24
7.0.10.0030.08720.30
7.0.00.0030.04020.07
5.6.170.0170.08320.55
5.6.160.0070.06020.50
5.6.150.0070.08718.29
5.6.140.0100.07718.14
5.6.130.0070.08718.24
5.6.120.0100.07321.02
5.6.110.0070.09021.14
5.6.100.0100.06721.01
5.6.90.0070.05721.00
5.6.80.0070.07020.39
5.5.310.0400.06320.24
5.5.300.0100.07717.92
5.5.290.0170.04018.07
5.5.280.0130.04720.88
5.5.270.0130.08020.84
5.5.260.0070.07320.76
5.5.250.0130.03720.78
5.5.240.0130.03020.29

preferences:
141.11 ms | 1394 KiB | 7 Q