3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con=mysqli_connect("localhost", "root", "Howismy1975", "testevent"); $companyname = isset($_POST["companyname"]) ? $_POST['companyname'] : 'companyname'; $contactname = isset($_POST["contactname"]) ? $_POST['contactname'] : 'contactname'; $conphonenumber = isset($_POST["conphonenumber"]) ? $_POST['conphonenumber'] : 'conphonenumber'; $conemail = isset($_POST["conemail"]) ? $_POST['conemail'] : 'conemail'; $conaddress = isset($_POST["conaddress"]) ? $_POST['conaddress'] : 'conaddress'; $conpostcode = isset($_POST["conpostcode"]) ? $_POST['conpostcode'] : 'conpostcode'; $statement = mysqli_prepare($con, "INSERT INTO client(companyname, contactname, conphonenumber, conemail, conaddress, conpostcode) VALUES (?, ?, ?, ?, ?, ?)"); mysqli_stmt_bind_param($statement, "ssssss", $companyname, $contactname, $conphonenumber, $conemail, $conaddress, $conpostcode); mysqli_stmt_execute($statement); 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.0120.00916.75
8.3.50.0040.01117.92
8.3.40.0140.00718.93
8.3.30.0070.00718.63
8.3.20.0080.00020.21
8.3.10.0040.00423.61
8.3.00.0060.00319.63
8.2.180.0120.00318.28
8.2.170.0040.01122.96
8.2.160.0030.01019.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00321.04
8.2.120.0040.00426.35
8.2.110.0070.00320.54
8.2.100.0060.00617.78
8.2.90.0080.00019.05
8.2.80.0000.00917.97
8.2.70.0030.00617.50
8.2.60.0030.00717.80
8.2.50.0000.01118.07
8.2.40.0040.00421.13
8.2.30.0050.00320.63
8.2.20.0040.00417.71
8.2.10.0080.00017.92
8.2.00.0000.00818.04
8.1.280.0040.01125.92
8.1.270.0000.00920.23
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.06
8.1.230.0040.00817.64
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.36
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0000.00818.43
8.1.160.0070.00020.64
8.1.150.0030.00518.84
8.1.140.0040.00419.44
8.1.130.0070.00017.55
8.1.120.0040.00417.40
8.1.110.0070.00317.36
8.1.100.0070.00017.34
8.1.90.0090.00017.23
8.1.80.0040.00417.28
8.1.70.0030.00517.32
8.1.60.0080.00017.37
8.1.50.0000.00817.54
8.1.40.0000.00917.51
8.1.30.0060.00317.46
8.1.20.0000.00817.52
8.1.10.0030.00517.42
8.1.00.0040.00417.48
8.0.300.0030.00618.77
8.0.290.0080.00016.75
8.0.280.0000.00718.43
8.0.270.0030.00317.21
8.0.260.0030.00317.18
8.0.250.0070.00017.01
8.0.240.0050.00316.87
8.0.230.0030.00517.02
8.0.220.0000.00816.96
8.0.210.0000.00716.93
8.0.200.0000.00616.96
8.0.190.0070.00016.89
8.0.180.0000.00716.95
8.0.170.0000.00716.81
8.0.160.0040.00416.87
8.0.150.0040.00416.91
8.0.140.0000.00716.90
8.0.130.0030.00313.30
8.0.120.0040.00416.86
8.0.110.0040.00416.79
8.0.100.0070.00016.81
8.0.90.0030.00516.87
8.0.80.0060.01016.89
8.0.70.0040.00416.88
8.0.60.0000.00716.70
8.0.50.0000.00716.80
8.0.30.0110.00617.17
8.0.20.0100.00917.40
8.0.10.0000.00716.96
8.0.00.0100.01016.63
7.4.330.0050.00016.89
7.4.320.0070.00016.45
7.4.300.0060.00016.47
7.4.290.0000.00716.41
7.4.280.0090.00016.57
7.4.270.0030.00616.49
7.4.260.0050.00316.43
7.4.250.0080.00016.38
7.4.240.0030.00416.53
7.4.230.0040.00416.66
7.4.220.0000.02516.45
7.4.210.0070.01016.59
7.4.200.0070.00016.28
7.4.160.0130.00316.44
7.4.150.0070.01117.40
7.4.140.0130.00717.86
7.4.130.0080.01016.44
7.4.120.0040.01216.56
7.4.110.0070.01316.57
7.4.100.0100.00616.40
7.4.90.0100.00716.49
7.4.80.0120.01019.39
7.4.70.0070.01416.68
7.4.60.0100.00716.40
7.4.50.0060.00916.50
7.4.40.0120.00616.51
7.4.30.0120.01216.47
7.4.00.0030.01014.92
7.3.330.0030.00313.00
7.3.320.0020.00313.05
7.3.310.0070.00016.35
7.3.300.0000.00716.19
7.3.290.0060.00816.26
7.3.280.0090.01016.31
7.3.270.0140.00317.40
7.3.260.0090.00916.23
7.3.250.0120.00816.25
7.3.240.0080.01016.30
7.3.230.0140.00316.39
7.3.210.0070.01016.36
7.3.200.0100.00716.43
7.3.190.0100.00716.47
7.3.180.0120.00416.43
7.3.170.0170.00316.31
7.3.160.0100.00716.54
7.3.10.0070.00716.51
7.3.00.0000.01516.48
7.2.330.0090.01516.31
7.2.320.0090.00916.59
7.2.310.0090.00916.63
7.2.300.0070.01016.47
7.2.290.0110.00616.50
7.2.130.0110.00316.88
7.2.120.0090.00616.86
7.2.110.0070.00716.72
7.2.100.0060.00916.53
7.2.90.0100.00616.88
7.2.80.0030.01016.56
7.2.70.0030.01016.84
7.2.60.0060.00816.84
7.2.50.0060.00616.71
7.2.40.0090.00616.77
7.2.30.0090.00616.59
7.2.20.0000.01616.87
7.2.10.0080.00816.52
7.2.00.0080.00618.13
7.1.250.0100.00715.41
7.1.200.0030.01015.50
7.1.100.0090.00318.05
7.1.70.0070.00016.75
7.1.60.0110.01419.13
7.1.50.0070.01716.88
7.1.00.0030.07322.45
7.0.200.0000.00716.64
7.0.60.0130.07719.93
7.0.50.0100.05017.94
7.0.40.0030.04720.02
7.0.30.0370.07720.18
7.0.20.0430.06720.04
7.0.10.0070.07720.09
7.0.00.0070.08320.13
5.6.280.0000.06720.98
5.6.210.0070.08020.55
5.6.200.0130.04718.22
5.6.190.0170.07020.42
5.6.180.0070.08020.58
5.6.170.0300.05020.48
5.6.160.0130.04720.34
5.6.150.0030.04318.19
5.6.140.0100.08018.11
5.6.130.0130.07718.07
5.6.120.0070.06721.15
5.6.110.0130.03720.96
5.6.100.0070.08721.13
5.6.90.0170.07321.13
5.6.80.0100.06320.33
5.5.350.4030.04020.39
5.5.340.0130.07318.00
5.5.330.0070.05020.16
5.5.320.0370.06720.29
5.5.310.0230.03320.32
5.5.300.0070.03717.96
5.5.290.0030.06718.01
5.5.280.0070.04720.88
5.5.270.0030.08720.77
5.5.260.0070.08020.87
5.5.250.0030.04020.62
5.5.240.0170.04020.04

preferences:
61.33 ms | 400 KiB | 5 Q