3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = class x{} $f = function(){ echo 'blee'; }; $g = $f; $f->__invoke(); $f(); $f->call($o);

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)
5.6.150.0070.04018.29
5.6.140.0000.09018.23
5.6.130.0100.08318.14
5.6.120.0130.07720.98
5.6.110.0070.07321.11
5.6.100.0130.04021.00
5.6.90.0000.09021.10
5.6.80.0200.06720.35
5.5.300.0030.04318.06
5.5.290.0130.04717.99
5.5.280.0000.09020.77
5.5.270.0100.08320.86
5.5.260.0200.06320.86
5.5.250.0070.07020.58
5.5.240.0170.07720.23

preferences:
142.12 ms | 1394 KiB | 7 Q