3v4l.org

run code in 300+ PHP versions simultaneously
<?php //namespace Thijs; function hallo() { echo "Hallo, Thijs"; } //namespace Hans; function hallo() { echo "Hallo, Hans"; } //namespace Voorbeeld; hallo();

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.20.0300.06320.33
7.0.10.0130.07720.15
7.0.00.0070.08720.09
5.6.170.0370.06720.56
5.6.160.0000.04720.43
5.6.150.0000.04318.16
5.6.140.0000.04318.18
5.6.130.0030.04018.18
5.6.120.0100.04321.06
5.6.110.0100.08321.02
5.6.100.0230.06721.03
5.6.90.0030.06321.13
5.6.80.0100.04720.54
5.5.310.0200.06720.32
5.5.300.0100.04717.94
5.5.290.0130.07017.98
5.5.280.0000.05720.69
5.5.270.0070.04720.95
5.5.260.0100.07720.96
5.5.250.0230.06020.66
5.5.240.0100.03020.27

preferences:
143.4 ms | 1394 KiB | 7 Q