3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function bar(){ echo 'Bar called'; }; function __callStatic($a) { echo 'CS: '.$a; } } Foo::bar();

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.00.0070.04320.22
5.6.160.0000.04320.44
5.6.150.0000.06718.18
5.6.140.0130.06718.12
5.6.130.0030.08318.23
5.6.120.0070.05721.00
5.6.110.0270.07720.96
5.6.100.0130.07721.11
5.6.90.0030.04020.97
5.6.80.0100.03720.39
5.5.300.0000.04317.92
5.5.290.0030.04317.95
5.5.280.0170.05020.85
5.5.270.0130.05020.68
5.5.260.0100.07020.80
5.5.250.0130.06720.70
5.5.240.0270.07320.36

preferences:
139.96 ms | 1394 KiB | 7 Q