3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '5' $q = "SELECT * FROM new_members WHERE member_name='Admin' AND passwd='" . utf8_decode($test) . "' LIMIT 1"; $sql = mysql_query($q); $row = mysql_fetch_assoc($sql); if ($row) { echo '<h2>Welcome Admin</h2>'; } ?>

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.320.0270.06319.18
5.4.310.0200.05719.14
5.4.300.0170.05719.21
5.4.290.0230.05019.31
5.4.280.0230.05319.05
5.4.270.0230.05019.21
5.4.260.0170.07018.96
5.4.250.0270.06719.30
5.4.240.0230.04719.30
5.4.230.0170.06019.14
5.4.220.0130.04318.84
5.4.210.0230.03019.14
5.4.200.0270.04019.05
5.4.190.0270.03018.96
5.4.180.0170.04019.20
5.4.170.0200.03718.94
5.4.160.0230.07019.06
5.4.150.0230.05019.06
5.4.140.0270.06716.34
5.4.130.0130.03716.50
5.4.120.0200.04016.35
5.4.110.0230.04016.55
5.4.100.0170.03716.54
5.4.90.0170.07316.55
5.4.80.0270.04716.46
5.4.70.0230.03716.52
5.4.60.0230.06716.51
5.4.50.0270.03716.22
5.4.40.0200.06716.17
5.4.30.0170.07316.37
5.4.20.0200.04316.21
5.4.10.0200.04316.48
5.4.00.0270.06315.86
5.3.290.0270.07014.50
5.3.280.0230.05014.54
5.3.270.0130.05314.46
5.3.260.0200.03714.54
5.3.250.0170.04014.48
5.3.240.0200.03314.55
5.3.230.0270.08314.66
5.3.220.0230.07014.41
5.3.210.0300.03714.40
5.3.200.0170.04714.52
5.3.190.0200.04014.48
5.3.180.0200.03314.40
5.3.170.0230.08014.51
5.3.160.0130.05314.52
5.3.150.0200.04314.55
5.3.140.0230.03014.65
5.3.130.0230.03314.50
5.3.120.0270.07314.48
5.3.110.0200.05014.39
5.3.100.0230.04713.98
5.3.90.0230.07013.87
5.3.80.0200.04314.03
5.3.70.0170.07714.11
5.3.60.0170.03714.05
5.3.50.0270.06713.88
5.3.40.0200.04013.78
5.3.30.0130.03713.96
5.3.20.0130.04013.59
5.3.10.0200.03313.51
5.3.00.0270.06713.58
5.2.170.0200.03312.48
5.2.160.0170.03712.48
5.2.150.0130.03712.48
5.2.140.0170.03012.48
5.2.130.0200.02312.48
5.2.120.0200.02312.48
5.2.110.0200.05312.48
5.2.100.0270.05712.48
5.2.90.0170.04012.48
5.2.80.0100.03712.48
5.2.70.0170.02712.48
5.2.60.0130.04012.48
5.2.50.0130.03012.48
5.2.40.0170.02312.48
5.2.30.0030.03712.48
5.2.20.0170.05712.48
5.2.10.0100.03012.48
5.2.00.0200.04712.48
5.1.60.0100.03012.48
5.1.50.0170.02312.48
5.1.40.0100.02712.48
5.1.30.0130.05312.48
5.1.20.0130.03012.48
5.1.10.0130.03312.48
5.1.00.0100.03312.48
5.0.50.0100.01712.48
5.0.40.0100.04312.48
5.0.30.0100.06312.48
5.0.20.0070.03312.48
5.0.10.0030.02012.48
5.0.00.0070.03012.48
4.4.90.0070.01312.48
4.4.80.0070.01312.48
4.4.70.0030.01712.48
4.4.60.0070.01712.48
4.4.50.0070.03012.48
4.4.40.0030.03712.48
4.4.30.0100.01312.48
4.4.20.0170.00712.48
4.4.10.0130.03012.48
4.4.00.0070.02312.48
4.3.110.0100.01312.48
4.3.100.0170.02312.48
4.3.90.0070.02712.48
4.3.80.0070.03712.48
4.3.70.0100.02712.48
4.3.60.0030.01712.48
4.3.50.0100.01312.48
4.3.40.0070.02712.48
4.3.30.0070.03012.48
4.3.20.0030.02012.48
4.3.10.0030.02312.48
4.3.00.0030.02012.48

preferences:
142.43 ms | 1394 KiB | 7 Q