3v4l.org

run code in 300+ PHP versions simultaneously
<?php $db = new SQLite3(':memory:'); $db->exec("CREATE TABLE Dogs (Id INTEGER PRIMARY KEY, Breed TEXT, Name TEXT, Age INTEGER)"); $sth = $db->prepare("INSERT INTO Dogs (Breed, Name, Age) VALUES (:breed,:name,:age)"); $sth->bindValue(':breed', 'canis', SQLITE3_TEXT); $sth->bindValue(':name', 'jack', SQLITE3_TEXT); $sth->bindValue(':age', 7, SQLITE3_INTEGER); $sth->execute(); $sth->clear(); //this is supposed to clear bindings! $sth->reset(); $sth->bindValue(':breed', 'russel', SQLITE3_TEXT); $sth->bindValue(':age', 3, SQLITE3_INTEGER); $sth->execute();

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.0130.00619.06
8.3.50.0110.01022.44
8.3.40.0100.00719.37
8.3.30.0110.00419.51
8.3.20.0080.00021.08
8.3.10.0040.00422.57
8.3.00.0040.00418.25
8.2.180.0100.01025.92
8.2.170.0040.01119.68
8.2.160.0080.00822.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0090.00026.16
8.2.120.0000.01319.35
8.2.110.0000.01021.97
8.2.100.0130.00718.16
8.2.90.0000.00818.59
8.2.80.0030.00818.67
8.2.70.0030.00518.13
8.2.60.0050.00318.25
8.2.50.0030.00518.12
8.2.40.0050.00321.17
8.2.30.0080.00020.08
8.2.20.0060.00318.39
8.2.10.0040.00418.70
8.2.00.0030.00518.65
8.1.280.0090.00925.92
8.1.270.0080.00024.70
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0040.00421.41
8.1.230.0080.00422.95
8.1.220.0060.00318.41
8.1.210.0000.01019.26
8.1.200.0080.00017.86
8.1.190.0050.00317.98
8.1.180.0060.00318.10
8.1.170.0000.00819.27
8.1.160.0040.00421.73
8.1.150.0000.00719.54
8.1.140.0040.00420.29
8.1.130.0070.00018.32
8.1.120.0000.00918.18
8.1.110.0040.00418.19
8.1.100.0040.00418.04
8.1.90.0080.00018.14
8.1.80.0040.00418.29
8.1.70.0020.00518.23
8.1.60.0040.00418.30
8.1.50.0000.00818.20
8.1.40.0000.00818.13
8.1.30.0040.00418.37
8.1.20.0040.00418.23
8.1.10.0000.00918.36
8.1.00.0030.00618.21
8.0.300.0000.00820.64
8.0.290.0000.00717.50
8.0.280.0020.00519.27
8.0.270.0000.00718.04
8.0.260.0070.00017.88
8.0.250.0040.00417.61
8.0.240.0030.00317.79
8.0.230.0000.00817.63
8.0.220.0000.00717.51
8.0.210.0030.00517.63
8.0.200.0030.00317.71
8.0.190.0030.00517.62
8.0.180.0080.00017.66
8.0.170.0080.00017.66
8.0.160.0050.00317.55
8.0.150.0030.00517.52
8.0.140.0000.00717.63
8.0.130.0030.00314.09
8.0.120.0000.00817.45
8.0.110.0020.00517.57
8.0.100.0040.00417.42
8.0.90.0040.00417.70
8.0.80.0100.01017.69
8.0.70.0000.00717.41
8.0.60.0030.00517.73
8.0.50.0000.00817.45
8.0.30.0120.01117.91
8.0.20.0090.01317.83
8.0.10.0000.00817.78
8.0.00.0090.00917.45
7.4.330.0000.00515.78
7.4.320.0030.00317.28
7.4.300.0000.00717.24
7.4.290.0070.00017.33
7.4.280.0030.00517.32
7.4.270.0000.00717.27
7.4.260.0000.00817.23
7.4.250.0030.00517.19
7.4.240.0030.00617.13
7.4.230.0050.00317.38
7.4.220.0150.01217.49
7.4.210.0050.01017.40
7.4.200.0070.00017.11
7.4.160.0160.00617.11
7.4.150.0100.01617.40
7.4.140.0130.00517.86
7.4.130.0070.01216.99
7.4.120.0130.00517.20
7.4.110.0070.01417.07
7.4.100.0130.00917.16
7.4.90.0030.01617.20
7.4.80.0070.01719.39
7.4.70.0080.00817.34
7.4.60.0030.01417.21
7.4.50.0030.01016.96
7.4.40.0140.00317.23
7.4.30.0060.01217.15
7.4.00.0080.01015.52
7.3.330.0060.00013.73
7.3.320.0000.00513.80
7.3.310.0000.00716.86
7.3.300.0030.00316.92
7.3.290.0070.00016.84
7.3.280.0090.01016.94
7.3.270.0060.01117.40
7.3.260.0110.00817.22
7.3.250.0150.00616.96
7.3.240.0110.00817.11
7.3.230.0080.00817.15
7.3.210.0080.01517.19
7.3.200.0070.01019.39
7.3.190.0040.01216.94
7.3.180.0120.00916.96
7.3.170.0140.00417.18
7.3.160.0130.01017.06
7.3.120.0030.01415.64
7.3.110.0110.00815.31
7.3.100.0110.00615.46
7.3.90.0100.00315.22
7.3.80.0080.00415.36
7.3.70.0100.00615.61
7.3.60.0030.00615.29
7.3.50.0000.01315.61
7.3.40.0030.01315.41
7.3.30.0000.00915.14
7.3.20.0000.01417.00
7.3.10.0030.00916.91
7.3.00.0060.00917.29
7.2.330.0110.00817.36
7.2.320.0150.00817.41
7.2.310.0080.01217.11
7.2.300.0100.00717.40
7.2.290.0040.01817.03
7.2.250.0030.00915.75
7.2.240.0030.01715.41
7.2.230.0040.01115.55
7.2.220.0030.00715.46
7.2.210.0040.01215.56
7.2.200.0090.00315.61
7.2.190.0000.01515.65
7.2.180.0060.00615.63
7.2.170.0110.00415.42
7.2.60.0020.01017.54
7.1.330.0040.01216.61
7.1.320.0080.00416.32
7.1.310.0140.00316.42
7.1.300.0040.01116.21
7.1.290.0070.00716.00
7.1.280.0070.00316.27
7.1.270.0100.00616.13
7.1.260.0030.00616.07
7.1.200.0070.00716.25
7.1.70.0050.00317.80
7.1.60.0110.00419.87
7.1.00.0070.07322.38
7.0.200.0410.00615.29
7.0.80.0900.05320.14
7.0.70.1300.06320.03
7.0.60.1370.06720.22
7.0.50.1330.06320.49
7.0.40.1370.07020.34
7.0.30.1300.06720.49
7.0.20.1570.05320.45
7.0.10.1370.06320.45
7.0.00.1270.08320.46
5.6.280.0000.07720.82
5.6.230.1100.06020.83
5.6.220.0930.07020.71
5.6.210.1170.06020.57
5.6.200.1030.07721.15
5.6.190.1230.08321.20
5.6.180.1200.06021.06
5.6.170.1200.06721.27
5.6.160.1330.07021.17
5.6.150.1330.08721.16
5.6.140.1200.06721.25
5.6.130.1370.06021.26
5.6.120.1270.08321.15
5.6.110.1070.08021.17
5.6.100.1200.05721.20
5.6.90.1030.05321.24
5.6.80.1030.05720.58
5.6.70.1100.05720.54
5.6.60.1270.06020.62
5.6.50.1130.04720.64
5.6.40.1130.06020.45
5.6.30.1130.04020.57
5.6.20.1030.05320.55
5.6.10.1130.05020.51
5.6.00.1000.05720.50
5.5.370.1100.05720.50
5.5.360.1270.05320.55
5.5.350.1130.08020.56
5.5.340.1030.06720.83
5.5.330.1170.06020.92
5.5.320.1200.06020.89
5.5.310.1000.06320.91
5.5.300.1170.05320.91
5.5.290.1100.07020.88
5.5.280.0600.06320.97
5.5.270.0970.06020.96
5.5.260.1070.06721.00
5.5.250.1170.06020.72
5.5.240.1100.05720.37
5.5.230.1030.06720.34
5.5.220.1030.05320.40
5.5.210.1030.05320.34
5.5.200.1270.07020.33
5.5.190.1070.05320.29
5.5.180.1100.05020.38
5.5.160.1070.05720.24
5.5.150.1100.05720.26
5.5.140.1030.05720.23
5.5.130.1030.05720.32
5.5.120.1200.05320.32
5.5.110.1030.06320.34
5.5.100.1030.06020.22
5.5.90.1230.04720.26
5.5.80.0970.06020.20
5.5.70.1070.05720.24
5.5.60.1200.07720.12
5.5.50.1130.07020.16
5.5.40.1230.05720.18
5.5.30.1070.05720.20
5.5.20.1200.05320.04
5.5.10.1070.05320.10
5.5.00.1000.05720.13

preferences:
39.35 ms | 401 KiB | 5 Q