3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result=mysql_query("SELECT * FROM sweets"); echo "<form name='formChoices' method='post' action='userReg.php'>"; while ($test = mysql_fetch_array($result)){$id = $test['sweet_id']; if ($test['category'] == "Jelly"){ echo"<h3>.$test.</h3>"; echo"<td><img src='../be_gummy/images/".$test['images']."'></td>\n";} mysql_close($conn); echo "<input type='submit' name='favchoice' />"; echo"</form>"; ?>

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.270.0230.04719.00
5.4.260.0200.06018.88
5.4.250.0170.07019.02
5.4.240.0200.06018.77
5.4.230.0100.05318.75
5.4.220.0230.06018.87
5.4.210.0030.08018.80
5.4.200.0100.08018.82
5.4.190.0130.07018.73
5.4.180.0170.06018.76
5.4.170.0070.06318.86
5.4.160.0130.05019.01
5.4.150.0230.07318.64
5.4.140.0100.06316.29
5.4.130.0100.06716.42
5.4.120.0100.07016.26
5.4.110.0170.05316.49
5.4.100.0230.05016.50
5.4.90.0130.06316.35
5.4.80.0100.07016.49
5.4.70.0170.05316.34
5.4.60.0130.05316.46
5.4.50.0130.06016.32
5.4.40.0270.07016.26
5.4.30.0100.06016.21
5.4.20.0130.06716.39
5.4.10.0170.06716.43
5.4.00.0270.04715.71
5.3.280.0200.06314.46
5.3.270.0100.07314.71
5.3.260.0100.07314.45
5.3.250.0200.06014.62
5.3.240.0100.07314.62
5.3.230.0030.08014.59
5.3.220.0130.06014.67
5.3.210.0100.07314.58
5.3.200.0070.06014.43
5.3.190.0030.06714.57
5.3.180.0230.04714.66
5.3.170.0100.06314.58
5.3.160.0170.06314.46
5.3.150.0130.07014.72
5.3.140.0200.05014.57
5.3.130.0100.07314.57
5.3.120.0130.06714.56
5.3.110.0130.05714.32
5.3.100.0130.05013.97
5.3.90.0200.05014.02
5.3.80.0100.06313.86
5.3.70.0200.04313.93
5.3.60.0230.05714.09
5.3.50.0100.07013.85
5.3.40.0130.05313.97
5.3.30.0130.05714.06
5.3.20.0170.05713.57
5.3.10.0130.06313.51
5.3.00.0070.06013.69
5.2.170.0170.05011.06
5.2.160.0030.05711.06
5.2.150.0100.04710.90
5.2.140.0200.04311.14
5.2.130.0070.05011.03
5.2.120.0170.05011.09
5.2.110.0130.05011.03
5.2.100.0070.04710.86
5.2.90.0100.03711.12
5.2.80.0070.05711.01
5.2.70.0130.04710.99
5.2.60.0070.05311.07
5.2.50.0030.06310.94
5.2.40.0130.04311.00
5.2.30.0100.04311.07
5.2.20.0030.05710.98
5.2.10.0100.04010.95
5.2.00.0030.04710.70
5.1.60.0100.04310.19
5.1.50.0100.0439.91
5.1.40.0030.03710.04
5.1.30.0070.04710.22
5.1.20.0070.03710.36
5.1.10.0070.04310.00
5.1.00.0100.03710.30
5.0.50.0070.0308.32
5.0.40.0070.0238.46
5.0.30.0070.0538.15
5.0.20.0100.0338.39
5.0.10.0030.0378.21
5.0.00.0130.0408.20
4.4.90.0000.0236.86
4.4.80.0070.0306.71
4.4.70.0070.0206.89
4.4.60.0030.0276.89
4.4.50.0100.0276.89
4.4.40.0070.0406.89
4.4.30.0100.0236.89
4.4.20.0000.0376.89
4.4.10.0000.0276.89
4.4.00.0000.0406.89
4.3.110.0100.0206.89
4.3.100.0030.0306.89
4.3.90.0070.0176.89
4.3.80.0100.0306.89
4.3.70.0030.0236.89
4.3.60.0100.0236.89
4.3.50.0100.0236.89
4.3.40.0130.0336.89
4.3.30.0000.0276.89
4.3.20.0070.0276.89
4.3.10.0000.0276.89
4.3.00.0030.01715.57

preferences:
133.24 ms | 1398 KiB | 7 Q