3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = 0; function hl() { if (h > 4) { throw Exception(); } ++h; hl(); } hl();

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.0170.07720.07
5.6.160.0170.07020.55
5.6.150.0070.03718.15
5.6.140.0070.07718.29
5.6.130.0070.06718.28
5.6.120.0070.03721.13
5.6.110.0170.07321.03
5.6.100.0100.04321.01
5.6.90.0130.08321.10
5.6.80.0100.07720.39
5.5.300.0030.08017.98
5.5.290.0100.05318.02
5.5.280.0030.06020.74
5.5.270.0070.05020.73
5.5.260.0030.08320.76
5.5.250.0000.07320.54
5.5.240.4230.04020.23

preferences:
140.51 ms | 1394 KiB | 7 Q