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"<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.0130.06018.73
5.4.260.0070.07018.88
5.4.250.0130.07719.02
5.4.240.0100.06318.80
5.4.230.0170.07018.92
5.4.220.0070.06318.95
5.4.210.0130.06018.70
5.4.200.0300.05019.03
5.4.190.0200.04718.73
5.4.180.0030.07718.79
5.4.170.0100.07018.99
5.4.160.0070.06318.68
5.4.150.0230.07718.63
5.4.140.0230.06016.45
5.4.130.0230.05316.30
5.4.120.0170.06016.46
5.4.110.0170.06016.27
5.4.100.0070.05016.20
5.4.90.0070.07716.34
5.4.80.0170.05716.32
5.4.70.0030.05316.45
5.4.60.0130.04316.50
5.4.50.0130.04316.32
5.4.40.0170.05016.38
5.4.30.0070.06016.20
5.4.20.0100.05316.49
5.4.10.0100.06316.39
5.4.00.0030.05315.75
5.3.280.0170.06714.64
5.3.270.0170.07314.77
5.3.260.0100.07014.62
5.3.250.0170.05314.61
5.3.240.0100.06014.70
5.3.230.0130.06014.46
5.3.220.0030.07714.34
5.3.210.0130.05314.35
5.3.200.0130.04714.41
5.3.190.0170.04714.43
5.3.180.0070.07314.45
5.3.170.0170.05714.61
5.3.160.0000.06314.44
5.3.150.0100.06014.46
5.3.140.0000.05714.61
5.3.130.0070.07314.60
5.3.120.0030.05714.55
5.3.110.0130.05714.57
5.3.100.0000.05713.87
5.3.90.0100.05014.04
5.3.80.0030.06314.04
5.3.70.0100.05313.96
5.3.60.0130.04713.94
5.3.50.0100.04713.79
5.3.40.0130.05013.66
5.3.30.0200.05713.70
5.3.20.0200.03713.72
5.3.10.0130.04713.42
5.3.00.0070.06713.50
5.2.170.0030.04710.90
5.2.160.0130.04711.06
5.2.150.0170.04011.25
5.2.140.0000.05011.15
5.2.130.0070.05710.93
5.2.120.0130.05710.94
5.2.110.0170.03311.04
5.2.100.0070.05711.20
5.2.90.0100.05311.21
5.2.80.0030.05311.01
5.2.70.0070.05711.01
5.2.60.0100.05310.93
5.2.50.0070.05710.95
5.2.40.0030.04310.92
5.2.30.0100.05011.12
5.2.20.0070.04010.86
5.2.10.0070.04710.62
5.2.00.0070.04710.80
5.1.60.0100.0409.91
5.1.50.0130.03710.04
5.1.40.0100.0379.92
5.1.30.0100.05010.23
5.1.20.0100.03010.26
5.1.10.0030.03710.12
5.1.00.0100.04010.26
5.0.50.0070.0408.64
5.0.40.0070.0238.18
5.0.30.0030.0578.28
5.0.20.0100.0238.39
5.0.10.0070.0378.20
5.0.00.0000.0438.25
4.4.90.0130.0176.90
4.4.80.0030.0236.90
4.4.70.0000.0276.90
4.4.60.0000.0236.90
4.4.50.0000.0276.90
4.4.40.0070.0436.90
4.4.30.0130.0136.90
4.4.20.0030.0206.90
4.4.10.0070.0306.90
4.4.00.0070.0376.90
4.3.110.0100.0176.90
4.3.100.0000.0276.90
4.3.90.0070.0306.90
4.3.80.0030.0376.90
4.3.70.0030.0276.90
4.3.60.0030.0206.90
4.3.50.0070.0206.90
4.3.40.0030.0376.90
4.3.30.0000.0236.90
4.3.20.0030.0306.90
4.3.10.0000.0236.90
4.3.00.0100.0207.38

preferences:
161.11 ms | 1394 KiB | 7 Q