3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static $a = 'b' public static function ftest() { echo 'test'; } } $test = new Test(); $test->ftest(); $test->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)
5.6.150.0170.05718.15
5.6.140.0070.04018.18
5.6.130.0070.04318.28
5.6.120.0100.03321.00
5.6.110.0030.06721.13
5.6.100.0070.09020.97
5.6.90.0130.06721.12
5.6.80.0070.03720.37
5.5.300.0070.07717.94
5.5.290.0030.04017.98
5.5.280.0030.06720.84
5.5.270.0070.07720.86
5.5.260.0170.07020.75
5.5.250.0170.05720.61
5.5.240.0300.07020.26

preferences:
127.79 ms | 1398 KiB | 7 Q