3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = array("Google" => array("Name" => "Google", "URL" => "www.google.com", "Usage" => "Googling"), "Yahoo" => array("Name" => "Yahoo", "URL" => "www.yahoo.com", "Usage" => "Yahooing?"), "Ask" => array("Name" => "Ask", "URL" => "www.ask.com", "Usage" => "Asking Jeeves")); var_dump($myarray); shuffle($myarray); var_dump($myarray);

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.4.10.0080.01014.96
7.4.00.0030.01314.70
7.3.130.0040.00714.64
7.3.120.0090.00914.79
7.3.110.0110.00714.58
7.3.100.0070.01014.95
7.3.90.0030.01214.86
7.3.80.0130.00314.91
7.3.70.0100.00314.72
7.3.60.0080.00414.71
7.3.50.0090.00314.73
7.3.40.0050.01214.45
7.3.30.0050.01014.42
7.3.20.0090.00715.62
7.3.10.0130.00715.59
7.3.00.0030.00815.64
7.2.260.0030.01615.12
7.2.250.0140.00314.68
7.2.240.0140.00314.59
7.2.230.0040.01414.93
7.2.220.0030.01614.84
7.2.210.0030.01014.64
7.2.200.0060.00914.80
7.2.190.0070.00714.68
7.2.180.0100.00714.78
7.2.170.0080.01214.86
7.2.160.0040.00914.88
7.2.150.0090.00715.78
7.2.140.0090.00915.75
7.2.130.0110.00515.76
7.2.120.0070.01315.70
7.2.110.0060.00615.91
7.2.100.0110.00415.63
7.2.90.0080.01315.64
7.2.80.0080.00315.79
7.2.70.0060.01215.76
7.2.60.0090.00915.62
7.2.50.0090.00515.72
7.2.40.0090.00615.96
7.2.30.0120.00915.73
7.2.20.0070.01315.72
7.2.10.0070.00915.91
7.2.00.0090.00815.64
7.1.330.0090.00615.92
7.1.320.0110.00815.88
7.1.310.0040.00415.87
7.1.300.0030.00715.72
7.1.290.0060.00615.82
7.1.280.0080.00714.73
7.1.270.0080.00514.66
7.1.260.0370.00714.66
7.1.250.0090.00914.76
7.1.240.0030.01015.77
7.1.230.0040.00415.57
7.1.220.0060.00915.85
7.1.210.0120.00415.70
7.1.200.0060.00615.80
7.1.190.0030.01015.64
7.1.180.0030.00915.84
7.1.170.0070.00715.71
7.1.160.0040.01115.59
7.1.150.0050.00515.73
7.1.140.0040.00715.72
7.1.130.0060.01015.52
7.1.120.0060.01215.45
7.1.110.0030.00915.59
7.1.100.0040.00815.47
7.1.90.0140.00015.63
7.1.80.0070.00715.92
7.1.70.0090.00615.86
7.1.60.0090.00615.93
7.1.50.0160.00015.88
7.1.40.0060.00315.80
7.1.30.0030.01415.82
7.1.20.0110.00315.63
7.1.10.0110.00415.83
7.1.00.0030.01015.43

preferences:
38.79 ms | 400 KiB | 5 Q