3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x(){ return function(){ return 'something big'; } } $w = x(); echo $w->__invoke();

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.0030.07020.24
7.0.00.0100.07720.05
5.6.160.0100.08720.55
5.6.150.0030.04318.17
5.6.140.0030.04718.18
5.6.130.0130.06018.18
5.6.120.0170.08021.13
5.6.110.0100.03321.12
5.6.100.0070.08320.98
5.6.90.0000.04720.98
5.6.80.0030.07320.45
5.5.300.0070.03717.97
5.5.290.0070.03717.98
5.5.280.0000.07720.77
5.5.270.0030.05720.89
5.5.260.0100.07720.87
5.5.250.0030.08720.46
5.5.240.0170.06020.04

preferences:
141.56 ms | 1394 KiB | 7 Q