3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con=mysqli_connect("db4free.net","thesis","tribiana7584913","library"); $password = $_POST["password"]; $username = $_POST["username"]; $statement = mysqli_prepare($con, "SELECT * FROM user_tbl where user_name = ? AND password = ? AND account_ID in (1,2) and status = 'Active'"); mysqli_stmt_bind_param($statement, "ss", $username,$password); mysqli_stmt_execute($statement); mysqli_stmt_store_result($statement); mysqli_stmt_bind_result($statement,$userID,$username,$password,$emailadd,$accountID,$status); $user = array(); while(mysqli_stmt_fetch($statement)){ $user[userID] = $userID; $user[username] = $username; $user[password] = $password; $user[emailadd] = $emailadd; $user[accountID] = $accountID; } echo json_encode($user); mysqli_stmt_close($statement); mysqli_close($con); ?>

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.01116.75
8.3.50.0160.00017.82
8.3.40.0110.00419.02
8.3.30.0080.00818.63
8.3.20.0080.00020.32
8.3.10.0050.00520.44
8.3.00.0080.00021.95
8.2.180.0110.00716.63
8.2.170.0070.00722.96
8.2.160.0100.00322.13
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0000.00820.71
8.2.120.0080.00026.35
8.2.110.0060.00320.92
8.2.100.0070.00417.80
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00318.04
8.2.50.0000.00818.09
8.2.40.0000.00822.11
8.2.30.0000.00719.28
8.2.20.0050.00317.63
8.2.10.0000.00718.08
8.2.00.0040.00418.02
8.1.280.0150.00025.92
8.1.270.0070.00721.98
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.67
8.1.230.0120.00317.55
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0000.01117.10
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0060.00318.55
8.1.160.0070.00020.67
8.1.150.0030.00520.55
8.1.140.0050.00319.40
8.1.130.0030.00317.60
8.1.120.0030.00417.31
8.1.110.0040.00417.30
8.1.100.0050.00217.35
8.1.90.0040.00417.37
8.1.80.0030.00617.37
8.1.70.0070.00017.38
8.1.60.0000.00717.39
8.1.50.0060.00317.54
8.1.40.0050.00317.47
8.1.30.0040.00417.52
8.1.20.0030.00617.45
8.1.10.0000.00817.45
8.1.00.0020.00517.45
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.41
8.0.270.0030.00317.21
8.0.260.0060.00017.17
8.0.250.0030.00317.05
8.0.240.0080.00017.01
8.0.230.0030.00317.02
8.0.220.0060.00316.82
8.0.210.0080.00016.96
8.0.200.0060.00016.91
8.0.190.0000.00716.83
8.0.180.0030.00516.94
8.0.170.0040.00416.95
8.0.160.0000.00716.97
8.0.150.0000.00816.76
8.0.140.0030.00616.71
8.0.130.0050.00013.34
8.0.120.0000.00816.80
8.0.110.0040.00416.80
8.0.100.0030.00316.81
8.0.90.0000.00816.92
8.0.80.0070.01016.84
8.0.70.0040.00416.76
8.0.60.0040.00416.87
8.0.50.0040.00416.80
8.0.30.0150.00317.18
8.0.20.0080.01017.40
8.0.10.0070.00016.85
8.0.00.0110.00616.73
7.4.330.0020.00216.79
7.4.320.0000.00616.52
7.4.300.0000.00716.57
7.4.290.0000.00716.48
7.4.280.0040.00416.38
7.4.270.0000.00716.47
7.4.260.0000.00716.45
7.4.250.0070.00016.39
7.4.240.0000.00716.52
7.4.230.0080.00016.68
7.4.220.0170.00016.51
7.4.210.0080.00716.52
7.4.200.0000.00716.67
7.4.160.0060.01516.60
7.4.150.0170.01017.40
7.4.140.0080.01117.86
7.4.130.0110.01016.52
7.4.120.0110.00616.40
7.4.110.0070.01016.54
7.4.100.0170.00616.38
7.4.90.0070.01016.48
7.4.80.0090.00919.39
7.4.70.0080.00816.62
7.4.60.0110.01116.47
7.4.50.0030.01016.57
7.4.40.0090.00916.62
7.4.30.0100.01316.26
7.4.00.0060.00614.70
7.3.330.0030.00313.18
7.3.320.0030.00313.09
7.3.310.0000.00616.43
7.3.300.0030.00316.34
7.3.290.0030.00316.29
7.3.280.0070.00916.34
7.3.270.0040.01217.40
7.3.260.0100.00716.32
7.3.250.0100.01016.30
7.3.240.0090.00916.42
7.3.230.0080.00816.39
7.3.210.0070.01716.31
7.3.200.0030.01219.39
7.3.190.0100.01016.39
7.3.180.0000.01616.36
7.3.170.0130.00316.27
7.3.160.0090.00616.38
7.3.10.0250.00616.16
7.3.00.0230.00616.08
7.2.330.0130.01016.52
7.2.320.0160.00316.55
7.2.310.0060.01316.48
7.2.300.0100.01316.34
7.2.290.0090.00616.52
7.2.130.0180.00715.88
7.2.120.0120.01116.50
7.2.110.0150.00516.52
7.2.100.0100.00716.56
7.2.90.0140.00616.43
7.2.80.0090.00916.45
7.2.70.0120.00316.77
7.2.60.0110.00816.59
7.2.50.0070.01016.85
7.2.40.0150.00616.39
7.2.30.0130.00716.41
7.2.20.0120.00816.55
7.2.10.0150.00616.58
7.2.00.0120.00918.02
7.1.250.0160.00615.00
7.1.200.0070.00715.46
7.1.100.0070.00718.14
7.1.70.0000.00916.88
7.1.60.0070.01719.40
7.1.50.0060.00616.94
7.1.00.0100.07022.40
7.0.200.0040.00416.37
7.0.90.0000.04719.90
7.0.80.0030.04319.90
7.0.70.0100.03019.91
7.0.60.0130.02719.85
7.0.50.0230.03320.36
7.0.40.0030.05020.10
7.0.30.0100.05720.04
7.0.20.0230.06319.96
7.0.10.0030.04720.04
7.0.00.0030.05020.07
5.6.280.0030.05720.83
5.6.240.0070.03720.51
5.6.230.0070.04020.60
5.6.220.0100.03320.50
5.6.210.0130.02320.62
5.6.200.0070.03721.02
5.6.190.0000.04321.04
5.6.180.0070.03321.08
5.6.170.0170.07021.07
5.6.160.0070.07721.00
5.6.150.0100.07320.96
5.6.140.0130.08720.93
5.6.130.0100.04021.05
5.6.120.0070.08321.02
5.6.110.0070.08021.10
5.6.100.0100.08021.10
5.6.90.0170.04321.02
5.6.80.0130.07020.45
5.6.70.0070.08020.42
5.6.60.0070.06720.31
5.6.50.0030.05020.46
5.6.40.0070.07720.31
5.6.30.0100.03720.48
5.6.20.0170.06720.44
5.6.10.0130.07720.31
5.6.00.0100.06720.44
5.5.380.0070.04320.40
5.5.370.0100.03720.46
5.5.360.0030.04020.45
5.5.350.0030.03320.43
5.5.340.0070.04020.91
5.5.330.0000.04320.87
5.5.320.0070.03020.77
5.5.310.0170.07020.80
5.5.300.0130.06320.73
5.5.290.0070.04320.74
5.5.280.0130.04320.80
5.5.270.0070.07720.82
5.5.260.0130.07720.86
5.5.250.0130.06020.63
5.5.240.0070.07720.28
5.5.230.0100.07720.27
5.5.220.0030.07720.30
5.5.210.0030.08020.27
5.5.200.0100.07320.09
5.5.190.0070.07320.24
5.5.180.0030.08720.28
5.5.160.0000.05020.13
5.5.150.0070.07319.99
5.5.140.0170.08320.16
5.5.130.0070.07020.08
5.5.120.0030.07320.21
5.5.110.0030.04319.98
5.5.100.0100.06320.14
5.5.90.0100.07020.17
5.5.80.0030.04320.11
5.5.70.0100.06319.97
5.5.60.0100.07020.14
5.5.50.0070.07720.06
5.5.40.0000.04720.10
5.5.30.0030.04320.00
5.5.20.0100.08020.08
5.5.10.0070.04020.12
5.5.00.0070.04020.04

preferences:
45.31 ms | 401 KiB | 5 Q