3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wrapper = new class($foo) { public function __construct($var) { $this->var = $var; } }

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.0130.04018.19
5.6.140.0030.08718.14
5.6.130.0130.05718.11
5.6.120.0070.07021.19
5.6.110.0100.08020.89
5.6.100.0070.05021.00
5.6.90.0070.07321.12
5.6.80.0070.06720.42
5.5.300.0070.05718.07
5.5.290.0100.08017.94
5.5.280.0100.07720.86
5.5.270.0000.06720.64
5.5.260.0170.06020.88
5.5.250.0000.04320.49
5.5.240.0270.07020.23

preferences:
138.36 ms | 1394 KiB | 7 Q