3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once 'config.php'; $query = "SELECT * FROM new_members WHERE member_name='Admin' AND passwd='" . utf8_decode(mysql_real_escape_string(test)) . "' LIMIT 1"; $sql = mysql_query($query); $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)
8.3.60.0040.01118.54
8.3.50.0110.01022.06
8.3.40.0000.01619.09
8.3.30.0140.00019.17
8.3.20.0030.00620.21
8.3.10.0050.00320.66
8.3.00.0060.00319.15
8.2.180.0080.00816.62
8.2.170.0040.01122.96
8.2.160.0070.00720.38
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0060.00326.16
8.2.120.0030.00522.22
8.2.110.0090.00022.14
8.2.100.0060.00619.45
8.2.90.0040.00417.88
8.2.80.0000.00818.96
8.2.70.0000.00817.63
8.2.60.0040.00417.50
8.2.50.0000.00917.38
8.2.40.0000.00817.63
8.2.30.0020.00519.46
8.2.20.0040.00417.70
8.2.10.0000.00818.02
8.2.00.0000.00717.69
8.1.280.0130.00325.92
8.1.270.0060.00322.21
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00320.64
8.1.230.0060.00620.96
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0080.00017.22
8.1.180.0060.00318.10
8.1.170.0060.00318.55
8.1.160.0000.00721.98
8.1.150.0000.00818.89
8.1.140.0070.00017.29
8.1.130.0030.00317.79
8.1.120.0000.00717.28
8.1.110.0040.00417.34
8.1.100.0070.00017.41
8.1.90.0030.00617.32
8.1.80.0000.00717.34
8.1.70.0030.00317.28
8.1.60.0040.00417.64
8.1.50.0040.00417.48
8.1.40.0000.00717.54
8.1.30.0080.00017.62
8.1.20.0040.00417.63
8.1.10.0050.00217.45
8.1.00.0020.00517.54
8.0.300.0080.00018.77
8.0.290.0070.00016.88
8.0.280.0030.00518.54
8.0.270.0030.00317.23
8.0.260.0040.00417.25
8.0.250.0030.00317.08
8.0.240.0060.00317.15
8.0.230.0000.00717.07
8.0.220.0050.00217.00
8.0.210.0030.00316.97
8.0.200.0000.00617.09
8.0.190.0050.00317.13
8.0.180.0040.00417.02
8.0.170.0000.00817.11
8.0.160.0070.00016.94
8.0.150.0080.00016.94
8.0.140.0000.01116.99
8.0.130.0000.00613.39
8.0.120.0000.00817.03
8.0.110.0030.00517.03
8.0.100.0030.00517.04
8.0.90.0040.00416.95
8.0.80.0110.01117.10
8.0.70.0070.00017.08
8.0.60.0040.00416.89
8.0.50.0040.00417.04
8.0.30.0080.01117.21
8.0.20.0100.01117.40
8.0.10.0050.00317.08
8.0.00.0080.00916.75
7.4.330.0030.00315.00
7.4.320.0040.00416.67
7.4.300.0070.00016.43
7.4.290.0000.00716.63
7.4.280.0050.00216.52
7.4.270.0030.00316.57
7.4.260.0030.00316.44
7.4.250.0040.00416.50
7.4.240.0010.00616.49
7.4.230.0050.00316.63
7.4.220.0210.01116.65
7.4.210.0070.01116.51
7.4.200.0050.00316.62
7.4.160.0040.01216.61
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0110.00616.51
7.4.120.0130.00316.52
7.4.110.0100.01016.46
7.4.100.0110.00716.27
7.4.90.0100.00716.32
7.4.80.0090.00916.70
7.4.70.0160.00016.73
7.4.60.0060.00916.40
7.4.50.0000.00816.40
7.4.40.0070.01016.68
7.4.30.0080.00816.46
7.4.00.0110.00414.68
7.3.330.0000.00513.13
7.3.320.0030.00313.04
7.3.310.0030.00316.21
7.3.300.0000.00716.09
7.3.290.0040.01116.29
7.3.280.0110.00816.27
7.3.270.0110.00717.40
7.3.260.0130.00316.18
7.3.250.0100.00716.35
7.3.240.0070.01116.30
7.3.230.0030.01316.39
7.3.210.0100.00616.31
7.3.200.0160.00319.39
7.3.190.0080.01116.53
7.3.180.0080.00816.39
7.3.170.0000.01516.27
7.3.160.0130.01016.48
7.2.330.0100.01316.52
7.2.320.0100.00716.39
7.2.310.0060.01016.57
7.2.300.0110.00916.68
7.2.290.0130.01016.49
7.2.00.0110.00918.96
7.1.100.0040.00817.87
7.1.70.0000.00817.00
7.1.60.0070.01719.32
7.1.50.0070.01816.51
7.1.00.0030.07722.36
7.0.200.0000.00916.29
7.0.140.0030.07321.96
7.0.60.0070.04020.04
7.0.50.0030.04317.67
7.0.40.0070.04319.91
7.0.30.0200.04020.14
7.0.20.0270.09020.17
7.0.10.0330.03720.04
7.0.00.0000.10020.30
5.6.280.0070.06720.90
5.6.210.0070.05720.53
5.6.200.0070.08018.23
5.6.190.0100.08020.58
5.6.180.0430.05320.27
5.6.170.0230.05020.49
5.6.160.0130.08020.62
5.6.150.0030.05018.11
5.6.140.0030.07018.18
5.6.130.0070.08718.13
5.6.120.0130.05720.92
5.6.110.0100.08321.12
5.6.100.0100.08021.13
5.6.90.0100.06020.96
5.6.80.0130.08020.37
5.6.70.4570.03320.36
5.5.350.0100.08720.38
5.5.340.0070.03717.88
5.5.330.0000.08020.41
5.5.320.0330.07720.33
5.5.310.0270.04320.21
5.5.300.0070.03317.99
5.5.290.0070.08018.00
5.5.280.0100.03320.64
5.5.270.0070.04020.67
5.5.260.0130.07320.79
5.5.250.0170.03020.58
5.5.240.0430.06720.20
5.4.450.0200.05019.44
5.4.440.0600.04319.22
5.4.430.0770.03319.46
5.4.420.0330.03319.45
5.4.410.0530.03319.45
5.4.400.0370.03719.45
5.4.390.0300.04019.45
5.4.380.0400.06718.51
5.4.370.0530.06018.66
5.4.360.0230.06318.70
5.4.350.0300.07018.65
5.4.340.0330.06318.52
5.4.320.0080.03712.47
5.4.310.0100.05012.47
5.4.300.0050.03812.47
5.4.290.0070.03912.46
5.4.280.0050.05312.37
5.4.270.0060.04812.36
5.4.260.0070.03912.37
5.4.250.0040.03912.36
5.4.240.0050.03612.36
5.4.230.0040.04012.36
5.4.220.0050.03812.36
5.4.210.0050.03812.36
5.4.200.0040.04212.36
5.4.190.0070.03912.35
5.4.180.0060.04212.36
5.4.170.0060.03612.36
5.4.160.0010.04012.36
5.4.150.0050.03612.36
5.4.140.0060.03712.04
5.4.130.0080.03312.03
5.4.120.0080.03411.98
5.4.110.0080.04811.98
5.4.100.0060.03711.98
5.4.90.0080.04611.98
5.4.80.0070.04611.98
5.4.70.0070.03411.98
5.4.60.0050.03511.98
5.4.50.0080.03211.97
5.4.40.0050.04011.96
5.4.30.0060.03611.96
5.4.20.0070.03711.96
5.4.10.0090.03611.96
5.4.00.0120.03411.45
5.3.290.0090.04012.80
5.3.280.0030.04812.71
5.3.270.0040.04112.72
5.3.260.0080.03912.72
5.3.250.0060.03712.72
5.3.240.0050.03812.72
5.3.230.0090.03412.71
5.3.220.0080.05212.68
5.3.210.0100.03612.68
5.3.200.0040.03812.68
5.3.190.0050.03912.68
5.3.180.0050.03812.68
5.3.170.0030.04012.67
5.3.160.0050.04212.68
5.3.150.0100.03812.68
5.3.140.0050.04412.66
5.3.130.0100.03712.66
5.3.120.0080.03612.66
5.3.110.0070.03712.66
5.3.100.0040.03812.11
5.3.90.0080.03512.09
5.3.80.0040.03812.08
5.3.70.0050.04212.07
5.3.60.0070.03512.06
5.3.50.0040.03712.00
5.3.40.0110.03512.00
5.3.30.0050.03711.95
5.3.20.0060.05011.73
5.3.10.0080.04911.70
5.3.00.0130.06211.69
5.2.170.0110.0339.19
5.2.160.0030.0339.18
5.2.150.0050.0349.18
5.2.140.0110.0309.18
5.2.130.0090.0519.14
5.2.120.0180.0529.14
5.2.110.0180.0499.15
5.2.100.0100.0339.14
5.2.90.0060.0379.15
5.2.80.0110.0479.14
5.2.70.0070.0659.14
5.2.60.0150.0579.10
5.2.50.0170.0839.07
5.2.40.0070.0399.05
5.2.30.0130.0399.02
5.2.20.0070.0329.02
5.2.10.0110.0388.94
5.2.00.0010.0348.80
5.1.60.0060.0248.08
5.1.50.0040.0248.08
5.1.40.0040.0338.06
5.1.30.0050.0298.41
5.1.20.0090.0248.43
5.1.10.0040.0288.16
5.1.00.0050.0268.15
5.0.50.0040.0226.63
5.0.40.0050.0186.49
5.0.30.0030.0346.30
5.0.20.0020.0226.27
5.0.10.0050.0216.25
5.0.00.0050.0396.24
4.4.90.0050.0204.78
4.4.80.0070.0194.75
4.4.70.0050.0204.76
4.4.60.0070.0314.76
4.4.50.0050.0214.77
4.4.40.0050.0324.71
4.4.30.0050.0164.76
4.4.20.0000.0214.85
4.4.10.0060.0204.85
4.4.00.0040.0324.76
4.3.110.0050.0214.67
4.3.100.0030.0234.67
4.3.90.0040.0204.63
4.3.80.0050.0244.58
4.3.70.0050.0144.63
4.3.60.0070.0104.63
4.3.50.0030.0154.63
4.3.40.0020.0254.54
4.3.30.0030.0153.28
4.3.20.0000.0203.26
4.3.10.0030.0173.23
4.3.00.0270.01719.45

preferences:
49.02 ms | 401 KiB | 5 Q