3v4l.org

run code in 300+ PHP versions simultaneously
<?php $statement = $dbh->prepare("UPDATE table SET Title=':title', Type=':type', DueDate=':duedate', Description=':desc' WHERE ID='44'"); $statement->execute(['title' => $_POST['Title'], 'type' => $_POST['Type'], 'duedate' => $_POST['Date'], 'desc' => $_POST['Desc']]);

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.00918.55
8.3.50.0140.00018.19
8.3.40.0060.01218.88
8.3.30.0120.00418.59
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.180.0090.00625.92
8.2.170.0040.01118.92
8.2.160.0040.01122.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0110.00421.11
8.2.110.0060.00621.13
8.2.100.0070.00417.78
8.2.90.0040.00417.75
8.2.80.0030.00518.86
8.2.70.0040.00417.75
8.2.60.0040.00417.63
8.2.50.0050.00318.05
8.2.40.0000.00817.97
8.2.30.0000.00717.97
8.2.20.0040.00418.00
8.2.10.0050.00319.06
8.2.00.0000.00719.23
8.1.280.0160.00325.92
8.1.270.0000.00823.99
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.18
8.1.230.0040.00717.70
8.1.220.0060.00318.58
8.1.210.0060.00318.77
8.1.200.0080.00017.23
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0030.00618.55
8.1.160.0070.00018.70
8.1.150.0000.00718.82
8.1.140.0000.00818.76
8.1.130.0030.00320.07
8.1.120.0000.00817.33
8.1.110.0030.00617.36
8.1.100.0080.00017.38
8.1.90.0040.00417.22
8.1.80.0000.00717.37
8.1.70.0030.00317.27
8.1.60.0050.00317.40
8.1.50.0040.00417.46
8.1.40.0080.00017.43
8.1.30.0040.00417.59
8.1.20.0040.00417.46
8.1.10.0000.00817.54
8.1.00.0060.00317.30
8.0.300.0090.00018.77
8.0.290.0000.00816.63
8.0.280.0030.00320.18
8.0.270.0080.00017.95
8.0.260.0000.00720.25
8.0.250.0000.00716.87
8.0.240.0000.00816.84
8.0.230.0070.00016.89
8.0.220.0030.00316.76
8.0.210.0040.00416.95
8.0.200.0070.00016.94
8.0.190.0000.00716.96
8.0.180.0070.00016.88
8.0.170.0040.00416.87
8.0.160.0000.00717.00
8.0.150.0040.00416.78
8.0.140.0030.00616.91
8.0.130.0000.00513.39
8.0.120.0030.00516.89
8.0.110.0000.00716.89
8.0.100.0000.00716.69
8.0.90.0040.00416.87
8.0.80.0040.01116.89
8.0.70.0000.00716.96
8.0.60.0000.00716.91
8.0.50.0000.00716.80
8.0.30.0000.01716.98
8.0.20.0120.00617.02
8.0.10.0040.00416.90
8.0.00.0030.01616.59
7.4.330.0000.00615.55
7.4.320.0030.00316.47
7.4.300.0040.00416.53
7.4.290.0000.00816.59
7.4.280.0060.00616.53
7.4.270.0040.00416.30
7.4.260.0000.00513.20
7.4.250.0060.00016.28
7.4.240.0030.00516.52
7.4.230.0000.00816.65
7.4.220.0020.00516.34
7.4.210.0050.01016.50
7.4.200.0070.00016.42
7.4.130.0090.00916.39
7.4.120.0110.00716.48
7.4.110.0060.01516.48
7.4.100.0120.00416.47
7.4.90.0180.00316.24
7.4.80.0100.00716.44
7.4.70.0060.01416.55
7.4.60.0160.00716.61
7.4.50.0130.00616.42
7.4.40.0070.01716.36
7.4.30.0110.00816.52
7.4.20.0140.00616.36
7.4.10.0070.01716.54
7.4.00.0050.01416.45
7.3.330.0070.00016.08
7.3.320.0000.00513.20
7.3.310.0030.00316.21
7.3.300.0030.00316.31
7.3.290.0080.00716.21
7.3.280.0100.01016.22
7.3.260.0170.01016.41
7.3.230.0100.01016.40
7.3.210.0140.01116.40
7.3.200.0070.01116.18
7.3.190.0100.01416.35
7.3.180.0060.01616.58
7.3.170.0130.00916.46
7.3.160.0160.00316.39
7.3.150.0130.00316.54
7.3.140.0000.01916.37
7.3.130.0150.00316.27
7.3.120.0080.01216.22
7.3.110.0080.01416.16
7.3.100.0180.00016.38
7.3.90.0200.00016.43
7.3.80.0120.00616.20
7.3.70.0070.01416.38
7.3.60.0050.01416.30
7.3.50.0070.01316.24
7.3.40.0130.00916.27
7.3.30.0070.01116.22
7.3.20.0150.00616.45
7.3.10.0530.00916.36
7.3.00.0160.00316.34
7.2.330.0130.00916.68
7.2.320.0160.00316.34
7.2.310.0100.01016.36
7.2.300.0200.00016.53
7.2.290.0090.00916.47
7.2.280.0030.02116.45
7.2.270.0160.00316.47
7.2.260.0100.01316.44
7.2.250.0100.01016.19
7.2.240.0100.01016.50
7.2.230.0110.00716.25
7.2.220.0070.01116.32
7.2.210.0100.01316.33
7.2.200.0100.01316.39
7.2.190.0090.00916.41
7.2.180.0130.01316.30
7.2.170.0090.01116.47
7.2.160.0120.00616.39
7.2.150.0070.01616.29
7.2.140.0060.01616.41
7.2.130.0150.00816.52
7.2.120.0120.00816.46
7.2.110.0100.01016.40
7.2.100.0170.01016.51
7.2.90.0130.01316.52
7.2.80.0130.01316.50
7.2.70.0080.01316.58
7.2.60.0120.01216.54
7.2.50.0090.01316.40
7.2.40.0080.01216.42
7.2.30.0150.00916.63
7.2.20.0070.01416.46
7.2.10.0160.00916.47
7.2.00.0150.01116.46

preferences:
61.03 ms | 400 KiB | 5 Q