3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { $x = 'a' . 'b'; // ok - can be calculated at compile-time $y = $_POST['foo']; // not ok - only calculable at runtime. }

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.0130.05320.16
5.6.160.0030.05320.71
5.6.150.0070.04318.12
5.6.140.0030.08018.23
5.6.130.0030.04718.15
5.6.120.0100.08021.00
5.6.110.0170.07720.96
5.6.100.0130.06020.96
5.6.90.0100.08320.87
5.6.80.0100.08020.37
5.5.300.0070.06318.02
5.5.290.0070.08017.98
5.5.280.0030.04320.76
5.5.270.0100.08020.97
5.5.260.0000.04320.66
5.5.250.0000.08020.70
5.5.240.0200.06020.15

preferences:
132 ms | 1398 KiB | 7 Q