3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new clqss { public static funciton assertTrue() { echo "assert true"; } public function myTest() { $this->assertTrue('bar'); } }; $foo->myTest();

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.12
7.0.10.0100.06720.24
7.0.00.0130.08320.16
5.6.170.0270.04720.55
5.6.160.0030.06020.55
5.6.150.0030.08318.12
5.6.140.0130.07318.22
5.6.130.0070.07718.17
5.6.120.0130.07721.12
5.6.110.0030.08020.98
5.6.100.0070.08721.13
5.6.90.0130.08020.96
5.6.80.0130.07720.50
5.5.310.0300.05320.30
5.5.300.0030.04018.03
5.5.290.0100.07318.04
5.5.280.0200.07320.68
5.5.270.0130.05020.76
5.5.260.0200.06720.93
5.5.250.0070.05320.61
5.5.240.3730.03320.26

preferences:
144.94 ms | 939 KiB | 8 Q