3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = function () { return $this}; var_dump($foo());

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.2.20.0100.01319.77
7.2.10.0080.01519.38
7.2.00.0080.01219.55
7.1.140.0100.01318.65
7.1.130.0060.01718.58
7.1.120.0080.01018.23
7.1.110.0060.01317.65
7.1.100.0090.01217.80
7.1.90.0110.00917.87
7.1.80.0090.01318.08
7.1.70.0060.01016.95
7.1.60.0290.01634.73
7.1.50.0270.01334.76
7.1.40.0230.01334.37
7.1.30.0220.01734.39
7.1.20.0240.01434.63
7.1.10.0060.01116.26
7.1.00.0050.01616.63

preferences:
142.88 ms | 1394 KiB | 7 Q