3v4l.org

run code in 300+ PHP versions simultaneously
<?php function aaa() { $aze = array('aze', 'qsd', 'wxc'); foreach($aze as $a) { if ($a == 'qsd') { return $a; } } } var_dump((aaa());

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.0070.07020.23
7.0.00.0030.04320.30
5.6.160.0130.07020.45
5.6.150.0070.04718.18
5.6.140.0030.08718.19
5.6.130.0070.07318.25
5.6.120.0070.05720.90
5.6.110.0030.08721.14
5.6.100.0030.04721.11
5.6.90.0130.08020.89
5.6.80.0100.06320.49
5.5.300.0070.08017.98
5.5.290.0070.06717.96
5.5.280.0130.04320.98
5.5.270.0130.08320.79
5.5.260.0230.07020.79
5.5.250.0100.05020.57
5.5.240.0200.07720.36

preferences:
140.93 ms | 1394 KiB | 7 Q