3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php class A { public static function foo() { echo get_called_class() . "\n"; } } $f = 'A::foo'; $f();

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.0030.04320.26
5.6.160.0070.03720.52
5.6.150.0070.05718.15
5.6.140.0030.06318.19
5.6.130.0070.04018.19
5.6.120.0030.05020.98
5.6.110.0070.04321.04
5.6.100.0070.04721.02
5.6.90.0130.06020.96
5.6.80.0170.06720.28
5.5.300.0100.05018.05
5.5.290.0170.03018.09
5.5.280.0170.08320.87
5.5.270.0030.09020.72
5.5.260.0100.07320.92
5.5.250.0070.07320.66
5.5.240.0230.07020.23

preferences:
141.23 ms | 1394 KiB | 7 Q