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.0100.04320.07
5.6.160.0000.04320.71
5.6.150.0030.04318.22
5.6.140.0030.05018.27
5.6.130.0130.07718.28
5.6.120.0100.08021.00
5.6.110.0130.05021.12
5.6.100.0100.07020.98
5.6.90.0030.07321.06
5.6.80.0070.03720.37
5.5.300.0100.05718.05
5.5.290.0070.07717.95
5.5.280.0100.06320.80
5.5.270.0070.07720.73
5.5.260.0200.07720.77
5.5.250.0070.08020.62
5.5.240.0270.07320.27

preferences:
137.38 ms | 1394 KiB | 7 Q