3v4l.org

run code in 300+ PHP versions simultaneously
<?php $db = new SQLite3(":memory:"); $stmt = $db->prepare("select 1, 2, 3 from sqlite_master where 1 = ?"); // bindParam crash $i = 0; $stmt->bindParam(0, $i); // bindValue crash $stmt->bindParam(0, 1); echo "bound\n"; // not reached $stmt->execute(); $db->close();

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.0150.00417.25
8.3.50.0160.00019.02
8.3.40.0150.00019.51
8.3.30.0140.00019.59
8.3.20.0040.00421.09
8.3.10.0080.00022.65
8.3.00.0070.00318.38
8.2.180.0090.00919.29
8.2.170.0070.00722.96
8.2.160.0110.00320.08
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00423.13
8.2.120.0050.00326.35
8.2.110.0070.00423.04
8.2.100.0060.00618.53
8.2.90.0030.00518.91
8.2.80.0060.00318.84
8.2.70.0030.00518.25
8.2.60.0080.00018.65
8.2.50.0030.00518.38
8.2.40.0000.00821.30
8.2.30.0060.00620.05
8.2.20.0040.00418.31
8.2.10.0000.00818.90
8.2.00.0030.00618.71
8.1.280.0060.01225.92
8.1.270.0080.00024.56
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0040.00424.58
8.1.230.0060.00623.46
8.1.220.0040.00418.41
8.1.210.0060.00319.34
8.1.200.0000.00818.11
8.1.190.0080.00017.98
8.1.180.0090.00018.10
8.1.170.0050.00319.34
8.1.160.0000.00723.48
8.1.150.0000.00819.62
8.1.140.0040.00420.26
8.1.130.0060.00318.05
8.1.120.0070.00018.20
8.1.110.0000.00918.22
8.1.100.0000.00718.13
8.1.90.0030.00518.15
8.1.80.0000.00818.14
8.1.70.0000.00718.19
8.1.60.0060.00318.30
8.1.50.0000.00918.23
8.1.40.0060.00318.26
8.1.30.0040.00418.41
8.1.20.0030.00518.43
8.1.10.0090.00318.38
8.1.00.0030.00618.34
8.0.300.0040.00420.73
8.0.290.0040.00717.38
8.0.280.0030.00319.13
8.0.270.0000.00717.86
8.0.260.0030.00317.59
8.0.250.0050.00217.75
8.0.240.0000.00717.71
8.0.230.0000.00817.73
8.0.220.0000.00717.63
8.0.210.0040.00417.74
8.0.200.0030.00617.74
8.0.190.0050.00317.64
8.0.180.0000.00717.71
8.0.170.0000.00817.73
8.0.160.0050.00317.66
8.0.150.0050.00217.55
8.0.140.0000.00817.55
8.0.130.0080.00314.03
8.0.120.0040.00417.59
8.0.110.0050.00317.63
8.0.100.0030.00517.68
8.0.90.0030.00417.59
8.0.80.0130.00917.73
8.0.70.0030.00617.74
8.0.60.0000.00717.53
8.0.50.0000.00817.48
8.0.30.0110.00917.91
8.0.20.0160.00817.71
8.0.10.0000.00817.85
8.0.00.0090.00917.20
7.4.330.0000.00515.08
7.4.320.0000.00717.19
7.4.300.0030.00317.40
7.4.290.0080.00017.35
7.4.280.0000.00917.26
7.4.270.0030.00317.32
7.4.260.0030.00517.39
7.4.250.0040.00417.23
7.4.240.0040.00417.34
7.4.230.0070.00017.39
7.4.220.0140.01017.45
7.4.210.0090.00617.37
7.4.200.0050.00217.52
7.4.160.0150.00317.63
7.4.150.0070.01117.40
7.4.140.0090.01217.86
7.4.130.0120.00917.35
7.4.120.0140.00517.33
7.4.110.0060.01317.30
7.4.100.0130.00417.25
7.4.90.0060.01217.25
7.4.80.0040.01619.39
7.4.70.0090.00917.50
7.4.60.0140.00417.26
7.4.50.0040.01117.22
7.4.40.0100.00617.14
7.4.30.0090.01517.29
7.4.00.0070.00715.88
7.3.330.0000.00513.82
7.3.320.0000.00713.85
7.3.310.0070.00017.12
7.3.300.0070.00016.93
7.3.290.0020.00517.04
7.3.280.0100.00816.98
7.3.270.0130.01417.40
7.3.260.0040.01317.07
7.3.250.0120.00717.13
7.3.240.0110.00617.04
7.3.230.0040.01516.94
7.3.210.0090.00917.25
7.3.200.0070.01117.21
7.3.190.0120.00916.89
7.3.180.0040.02017.14
7.3.170.0160.00017.25
7.3.160.0060.01017.10
7.2.330.0140.00517.39
7.2.320.0040.01517.41
7.2.310.0100.00717.02
7.2.300.0130.01216.91
7.2.290.0100.01317.41
7.2.60.0210.00217.10
7.2.00.0040.00820.11
7.1.200.0000.01016.06
7.1.100.0080.00518.73
7.1.70.0060.00317.80
7.1.60.0030.00919.38
7.1.50.0180.00717.21
7.1.00.0070.07722.44
7.0.200.0240.00315.34
7.0.80.0300.05720.16
7.0.70.0170.05319.96
7.0.60.0130.05320.13
7.0.50.0130.05720.46
7.0.40.0100.05720.32
7.0.30.0130.05720.32
7.0.20.0170.08020.36
7.0.10.0170.06020.52
7.0.00.0030.07020.42
5.6.230.0130.06320.55
5.6.220.0130.05720.84
5.6.210.0100.06320.73
5.6.200.0270.04321.12
5.6.190.0170.07321.13
5.6.180.0130.05721.22
5.6.170.0070.06321.14
5.6.160.0100.05721.16
5.6.150.0170.05021.13
5.6.140.0170.05721.14
5.6.130.0030.07021.15
5.6.120.0130.05721.11
5.6.110.0070.06721.11
5.6.100.0170.05321.14
5.6.90.0100.06021.20
5.6.80.0070.05720.54
5.6.70.0030.06020.56
5.6.60.0030.06320.50
5.6.50.0130.06320.62
5.6.40.0100.05720.51
5.6.30.0100.05720.45
5.6.20.0070.06020.54
5.6.10.0030.06320.44
5.6.00.0100.06020.44

preferences:
63.8 ms | 401 KiB | 5 Q