3v4l.org

run code in 300+ PHP versions simultaneously
<?php class version_info { private $vi = array(); // Version Information Array function __construct() { //$this->vi = array(); } function add($name, $filename, $doc = 0, $date, $ver) { $this->vi[$filename] = array( 'name' => $name, 'filename' => $filename, 'document' => $doc, // Include in automatic SiteCommander tech documentation 'version' => $ver, 'date' => $date ); } function dump() { // temporary for debugging print_r($this->vi); } } /* end of class version_info */ $sc_version_info = new version_info(); $sc_version_info->add('Test', '/admin/test.php', 1, 2, 3); f('Test', '/admin/test.php', 4, 5, 6); $sc_version_info->dump(); function f($a, $b, $c, $d, $e) global $sc_version_info; $sc_version_info->add($a, $b, $c, $d, $e); }

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.4.220.0140.04612.40
5.4.210.0140.04512.40
5.4.200.0140.04312.39
5.4.190.0120.04112.39
5.4.180.0120.03812.39
5.4.170.0130.04112.40
5.4.160.0110.04612.40
5.4.150.0140.03812.39
5.4.140.0160.04912.09
5.4.130.0100.04312.06
5.4.120.0140.03612.04
5.4.110.0090.04012.03
5.4.100.0100.04012.03
5.4.90.0150.04212.03
5.4.80.0130.04512.03
5.4.70.0160.05612.03
5.4.60.0130.04212.03
5.4.50.0100.04112.03
5.4.40.0140.03812.01
5.4.30.0180.05612.01
5.4.20.0130.04712.00
5.4.10.0130.04512.01
5.4.00.0170.05711.50
5.3.270.0130.04612.72
5.3.260.0130.04512.72
5.3.250.0130.04312.72
5.3.240.0120.04312.72
5.3.230.0150.05912.71
5.3.220.0130.04312.68
5.3.210.0120.04612.68
5.3.200.0160.04112.68
5.3.190.0140.05512.68
5.3.180.0160.04112.67
5.3.170.0140.03912.67
5.3.160.0120.04112.67
5.3.150.0120.04212.67
5.3.140.0120.04612.66
5.3.130.0180.06912.65
5.3.120.0130.04112.66
5.3.110.0120.04312.66
5.3.100.0260.06212.13
5.3.90.0090.04312.11
5.3.80.0130.03912.09
5.3.70.0110.04312.09
5.3.60.0070.04612.08
5.3.50.0110.04312.02
5.3.40.0120.04312.02
5.3.30.0120.03911.99
5.3.20.0180.05211.77
5.3.10.0120.03911.73
5.3.00.0120.03811.71

preferences:
142.45 ms | 1394 KiB | 7 Q