3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Get Smart - TV comedy debuted 1965 $agents = array(86 => "Don Adams", 99 => "Barbara Feldon", 08 => "Burt Mustin", 13 => "Dave Ketchum", 44 => "Victor French", 38 => "Angelique Pettyjohn"); echo "The secret agents and the actors who portrayed them:<br>"; foreach ($agents as list( $agent,$actor ) { echo $actor, ' => ', $agent; }

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.140.0070.03316.33
5.4.130.0000.04016.29
5.4.120.0030.06316.54
5.4.110.0030.03716.27
5.4.100.0000.04716.68
5.4.90.0030.04316.43
5.4.80.0100.02716.37
5.4.70.0100.04016.52
5.4.60.0070.03316.40
5.4.50.0070.03716.40
5.4.40.0070.06316.38
5.4.30.0170.06716.39
5.4.20.0030.04316.38
5.4.10.0170.06716.64
5.4.00.0030.04715.82
5.3.240.0070.03314.54
5.3.230.0030.03714.57
5.3.220.0030.03714.58
5.3.210.0030.05014.50
5.3.200.0000.04014.49
5.3.190.0030.04314.58
5.3.180.0000.03714.46
5.3.170.0030.03714.49
5.3.160.0070.07314.53
5.3.150.0100.07014.50
5.3.140.0100.07014.49
5.3.130.0130.07014.37
5.3.120.0100.07314.57
5.3.110.0070.06314.49
5.3.100.0070.06313.96
5.3.90.0070.07314.00
5.3.80.0100.07014.11
5.3.70.0030.07713.96
5.3.60.0100.07013.96
5.3.50.0030.07313.88
5.3.40.0130.05713.88
5.3.30.0130.06713.70
5.3.20.0130.04013.64
5.3.10.0070.06713.48
5.3.00.0070.05713.59

preferences:
139.9 ms | 1386 KiB | 7 Q