3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static function hello(){ echo "Hello World\n"; } } $y[0] = 'hello'; echo "A::${y[0]}"; // echo A::{${y[0]}};

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.10.0100.07720.09
7.0.00.0200.06720.23
5.6.160.0070.04320.46
5.6.150.0070.08018.17
5.6.140.0030.07318.11
5.6.130.0100.08018.23
5.6.120.0100.07321.10
5.6.110.0030.07720.99
5.6.100.0000.04721.04
5.6.90.0100.03721.12
5.6.80.0130.06020.26
5.5.300.0000.04018.04
5.5.290.0070.08318.01
5.5.280.0130.08020.87
5.5.270.0030.04320.73
5.5.260.0070.04020.97
5.5.250.0030.09020.69
5.5.240.0300.06320.19

preferences:
141.7 ms | 1394 KiB | 7 Q