3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hof($t) { return function($v) use($t) { return $v.$t; } } var_dump(hof('foo')('bar'));

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.0130.08020.11
7.0.00.0030.04320.16
5.6.160.0000.05720.55
5.6.150.0030.04018.19
5.6.140.0070.05718.18
5.6.130.0100.07318.28
5.6.120.0070.04021.18
5.6.110.0070.07721.14
5.6.100.0130.07720.98
5.6.90.0000.09021.14
5.6.80.0030.04720.39
5.5.300.0100.04017.98
5.5.290.0130.03317.99
5.5.280.0070.08720.69
5.5.270.0300.05720.77
5.5.260.0100.03720.78
5.5.250.0200.05020.67
5.5.240.0130.08020.24

preferences:
140.88 ms | 1394 KiB | 7 Q