3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo() { public function bar() { echo 1; } } 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.0000.04720.14
5.6.160.0100.08320.55
5.6.150.0070.08018.27
5.6.140.0130.03318.15
5.6.130.0100.04318.11
5.6.120.0030.04021.11
5.6.110.0100.07720.99
5.6.100.0070.05020.93
5.6.90.0070.05721.09
5.6.80.0170.07020.40
5.5.300.0030.04317.95
5.5.290.0000.05318.08
5.5.280.0100.04020.79
5.5.270.0030.09020.75
5.5.260.0100.08020.79
5.5.250.0000.08320.58
5.5.240.0330.06720.13

preferences:
172.51 ms | 1394 KiB | 7 Q