3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closure = function (string $str) : int use (&$something) {};

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.0030.08020.20
5.6.160.0200.04020.54
5.6.150.0130.06318.19
5.6.140.0100.08018.15
5.6.130.0100.07018.15
5.6.120.0100.07721.02
5.6.110.0070.04321.03
5.6.100.0100.05021.13
5.6.90.0030.07720.98
5.6.80.0030.08320.54
5.5.300.0070.06318.03
5.5.290.0070.08018.04
5.5.280.0100.07320.87
5.5.270.0030.05320.86
5.5.260.0000.04320.68
5.5.250.0070.04020.69
5.5.240.0100.07320.07

preferences:
138.96 ms | 1386 KiB | 7 Q