3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = function($m){ return eval('$this->waa();'); }; class x { function __construct($x){ var_dump(preg_replace_callback('~.~', $x use ($this), 'wazaa')); } function waa(){ return 'meukee'; } } new x($x);

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.0000.08720.23
7.0.00.0070.04320.24
5.6.160.0100.04320.56
5.6.150.0130.08018.28
5.6.140.0170.07718.16
5.6.130.0030.05018.21
5.6.120.0070.08021.15
5.6.110.0030.04021.12
5.6.100.0070.04021.01
5.6.90.0130.07021.02
5.6.80.0000.08320.47
5.5.300.0070.07717.95
5.5.290.0030.08717.92
5.5.280.0000.09020.89
5.5.270.0130.07020.76
5.5.260.0030.09020.80
5.5.250.0070.07320.78
5.5.240.0300.06320.07

preferences:
140.53 ms | 1394 KiB | 7 Q