3v4l.org

run code in 300+ PHP versions simultaneously
<?php <html> <head> <title>les listes dynamiques</title> </head> <body> <?php $liste = array("Casablanca","Fes","Kenitra","Rabat"); $max=sizeof($liste); ?> <form name="liste"> Selectionnez la ville :<br/> <select name='ville' size="$max" multiple> <?php for($i=0;$i<$max;$i++){ echo"<option value='$i'>$liste[$i]</option>"; } echo"</select>"; echo"</form>"; </body> </html>

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.290.0070.03812.48
5.4.280.0060.04012.37
5.4.270.0050.04412.37
5.4.260.0040.04412.37
5.4.250.0060.03912.37
5.4.240.0070.04312.37
5.4.230.0070.03612.37
5.4.220.0050.03712.36
5.4.210.0070.03512.37
5.4.200.0020.04212.37
5.4.190.0050.04012.36
5.4.180.0060.03812.36
5.4.170.0050.04112.37
5.4.160.0070.04612.36
5.4.150.0060.03712.36
5.4.140.0070.03712.05
5.4.130.0060.03612.04
5.4.120.0070.03412.00
5.4.110.0060.03811.99
5.4.100.0080.03411.99
5.4.90.0040.03911.99
5.4.80.0050.03812.00
5.4.70.0040.03811.99
5.4.60.0080.03311.99
5.4.50.0050.04212.00
5.4.40.0090.04211.98
5.4.30.0060.04711.97
5.4.20.0110.03311.97
5.4.10.0070.03511.97
5.4.00.0060.03711.47
5.3.280.0050.04012.70
5.3.270.0080.05712.72
5.3.260.0070.04412.72
5.3.250.0070.05012.72
5.3.240.0050.04012.72
5.3.230.0060.03812.71
5.3.220.0050.04012.68
5.3.210.0080.03712.68
5.3.200.0090.03512.68
5.3.190.0090.04112.68
5.3.180.0050.05012.67
5.3.170.0070.03812.67
5.3.160.0090.05312.67
5.3.150.0060.03912.67
5.3.140.0080.03512.66
5.3.130.0080.05612.66
5.3.120.0040.05912.66
5.3.110.0120.04012.66
5.3.100.0090.05812.12
5.3.90.0120.03812.08
5.3.80.0080.03812.08
5.3.70.0060.04112.08
5.3.60.0090.04212.06
5.3.50.0080.03612.00
5.3.40.0080.04012.00
5.3.30.0070.04011.95
5.3.20.0050.03911.73
5.3.10.0150.06611.70
5.3.00.0080.03911.68

preferences:
145.63 ms | 1394 KiB | 7 Q