3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con = mysqli_connect("mysql8.000webhost.com" , "a6088828_fa" , "fatma1234" , "a6088828_fa"); $Fname = $_POST["Fname"]; $Lname = $_POST["Lname"]; $Address = $_POST["Address"]; $Mobile = $_POST["Mobile"]; $Mail = $_POST["Mail"]; $Username = $_POST["Username"]; $Password = $_POST["Password"]; $insertquery = mysqli_prepare($con , "INSERT INTO contacts (Fname , Lname , Address , Mobile , Mail , Username , Password) VALUES (?,?,?,?,?,?,?)"); mysqli_stmt_bind_param($insertquery , "sssssss" , $Lname , $LNAME , $Address , $Mobile , $Mail , $Username , $Password); mysqli_stmt_execute($insertquery); mysqli_stmt_close($insertquery); 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.40.0140.00018.97
8.3.30.0090.00618.54
8.3.20.0040.00420.16
8.3.10.0040.00423.61
8.3.00.0080.00020.04
8.2.170.0070.00722.96
8.2.160.0110.00420.22
8.2.150.0060.00324.18
8.2.140.0110.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00017.38
8.2.110.0100.00022.04
8.2.100.0080.00417.50
8.2.90.0000.00919.23
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0000.00918.04
8.2.50.0000.00818.07
8.2.40.0060.00319.46
8.2.30.0040.00420.73
8.2.20.0050.00317.56
8.2.10.0000.00818.05
8.2.00.0050.00318.00
8.1.270.0040.01123.79
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0070.00322.38
8.1.230.0040.00817.42
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0030.00517.23
8.1.180.0030.00618.10
8.1.170.0080.00418.22
8.1.160.0000.00821.87
8.1.150.0000.00718.68
8.1.140.0080.00017.34
8.1.130.0000.00717.58
8.1.120.0040.00317.36
8.1.110.0070.00017.33
8.1.100.0050.00217.34
8.1.90.0040.00317.28
8.1.80.0040.00417.29
8.1.70.0000.00717.32
8.1.60.0000.00717.39
8.1.50.0030.00617.43
8.1.40.0040.00417.36
8.1.30.0080.00017.50
8.1.20.0040.00417.53
8.1.10.0060.00317.42
8.1.00.0050.00217.42
8.0.300.0060.00318.77
8.0.290.0020.00516.75
8.0.280.0030.00318.43
8.0.270.0000.00717.23
8.0.260.0000.00817.16
8.0.250.0000.00717.03
8.0.240.0070.00017.00
8.0.230.0000.00717.01
8.0.220.0000.00716.90
8.0.210.0000.00716.91
8.0.200.0000.00817.04
8.0.190.0060.00316.96
8.0.180.0000.00716.80
8.0.170.0040.00416.92
8.0.160.0020.00516.89
8.0.150.0030.00316.79
8.0.140.0040.00416.89
8.0.130.0000.00513.38
8.0.120.0000.00816.77
8.0.110.0040.00416.93
8.0.100.0040.00416.88
8.0.90.0000.00716.89
8.0.80.0090.00616.95
8.0.70.0040.00416.84
8.0.60.0080.00016.80
8.0.50.0000.00716.78
8.0.30.0100.00717.09
8.0.20.0090.01117.40
8.0.10.0040.00416.89
8.0.00.0090.00816.68
7.4.330.0050.00015.08
7.4.320.0030.00316.51
7.4.300.0000.00616.55
7.4.290.0000.00716.46
7.4.280.0070.00016.58
7.4.270.0030.00316.50
7.4.260.0000.00716.41
7.4.250.0040.00416.30
7.4.240.0030.00316.41
7.4.230.0000.00716.44
7.4.220.0080.01116.42
7.4.210.0090.00616.55
7.4.200.0070.00016.34
7.4.160.0150.00416.41
7.4.150.0090.00917.40
7.4.140.0140.00817.86
7.4.130.0130.00316.38
7.4.120.0090.00916.57
7.4.110.0040.01616.41
7.4.100.0140.00316.57
7.4.90.0090.01216.26
7.4.80.0100.01319.39
7.4.70.0140.01016.69
7.4.60.0030.01316.43
7.4.50.0070.00016.48
7.4.40.0040.01416.40
7.4.30.0100.01316.65
7.4.00.0030.01315.05
7.3.330.0000.00713.16
7.3.320.0060.00013.02
7.3.310.0040.00416.41
7.3.300.0000.00716.26
7.3.290.0090.00816.28
7.3.280.0100.00816.23
7.3.270.0060.01217.40
7.3.260.0110.00616.25
7.3.250.0120.00616.28
7.3.240.0120.00616.29
7.3.230.0130.00316.39
7.3.210.0100.01016.41
7.3.200.0150.00616.42
7.3.190.0100.01216.31
7.3.180.0230.02916.27
7.3.170.0100.01016.38
7.3.160.0060.01016.41
7.2.330.0100.01016.61
7.2.320.0070.01016.45
7.2.310.0030.01516.71
7.2.300.0140.00316.46
7.2.290.0110.00816.66
7.2.60.0030.01216.52
7.2.00.0030.01019.23
7.1.200.0110.00415.73
7.1.100.0120.00318.07
7.1.70.0040.00417.07
7.1.60.0040.01519.29
7.1.50.0040.01516.54
7.1.00.0070.08722.33
7.0.200.0000.00716.66
7.0.60.0000.06720.07
7.0.50.0070.03717.83
7.0.40.0100.06019.96
7.0.30.0270.06020.14
7.0.20.0270.04720.33
7.0.10.0030.08720.34
7.0.00.0100.04720.04
5.6.280.0000.06021.12
5.6.210.0070.05020.61
5.6.200.0030.05018.16
5.6.190.0030.04720.53
5.6.180.0300.08320.61
5.6.170.0330.07320.38
5.6.160.0030.04320.54
5.6.150.0070.08018.12
5.6.140.0070.08018.09
5.6.130.0070.08318.18
5.6.120.0200.07021.12
5.6.110.0100.06321.04
5.6.100.0100.06720.97
5.6.90.0130.05021.12
5.6.80.0100.03720.53
5.5.350.0000.08320.43
5.5.340.0030.04017.95
5.5.330.0070.07320.23
5.5.320.3870.04020.17
5.5.310.0300.04720.41
5.5.300.0030.04017.94
5.5.290.0130.06717.94
5.5.280.0100.08720.77
5.5.270.0100.04020.95
5.5.260.0100.08020.96
5.5.250.0100.07320.45
5.5.240.0070.07320.25
5.4.450.0670.06319.61
5.4.440.0770.05719.51
5.4.430.0800.05019.47
5.4.420.0730.05719.60
5.4.410.0830.05319.38
5.4.400.0830.05019.29
5.4.390.0770.05718.93
5.4.380.0700.05718.75
5.4.370.0730.06319.25
5.4.360.0700.06018.78
5.4.350.0770.04719.21
5.4.340.0770.05319.19
5.4.320.0700.06019.05
5.4.310.0900.06719.10
5.4.300.0770.06318.74
5.4.290.0830.04019.28
5.4.280.0830.05019.21
5.4.270.0900.06018.75
5.4.260.0830.05718.98
5.4.250.0830.05718.77
5.4.240.0870.04319.21
5.4.230.0730.05719.04
5.4.220.0930.07019.21
5.4.210.0830.05719.27
5.4.200.0630.06319.31
5.4.190.0870.04718.97
5.4.180.0800.05019.11
5.4.170.0700.06318.77
5.4.160.0800.04318.75
5.4.150.0770.05019.20
5.4.140.0730.06016.46
5.4.130.0830.04016.43
5.4.120.0830.04716.37
5.4.110.0770.05316.56
5.4.100.0730.05716.52
5.4.90.0870.04016.47
5.4.80.0730.05316.37
5.4.70.0370.05716.37
5.4.60.0030.06016.47
5.4.50.0000.03316.16
5.4.40.0130.03716.20
5.4.30.0330.06016.47
5.4.20.0030.06316.43

preferences:
55.39 ms | 400 KiB | 5 Q