3v4l.org

run code in 300+ PHP versions simultaneously
<?php function splat($s, ...$vars){ echo '$stmt->bind_param("' . $s . '", '.$vars; } $array = ['a', 'b', 'c']; $s = ''; for ($x = 0; $x < count($array); $x ++) { $s .= 's'; } splat($s, ...$array);

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.0100.01018.41
8.3.50.0080.00616.23
8.3.40.0090.00618.84
8.3.30.0070.00718.70
8.3.20.0000.00819.15
8.3.10.0050.00319.15
8.3.00.0080.00017.80
8.2.180.0100.01018.25
8.2.170.0110.00322.96
8.2.160.0110.00321.20
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0090.00921.01
8.2.110.0030.00619.41
8.2.100.0080.00418.03
8.2.90.0040.00417.50
8.2.80.0040.00418.73
8.2.70.0040.00417.93
8.2.60.0040.00417.80
8.2.50.0080.00018.10
8.2.40.0060.00319.51
8.2.30.0000.00819.41
8.2.20.0040.00418.07
8.2.10.0040.00418.07
8.2.00.0000.00719.41
8.1.280.0120.00625.92
8.1.270.0000.00723.97
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0050.00519.57
8.1.230.0040.00822.68
8.1.220.0000.00918.71
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0050.00318.50
8.1.160.0000.00818.88
8.1.150.0040.00418.87
8.1.140.0040.00417.66
8.1.130.0030.00318.87
8.1.120.0000.00717.50
8.1.110.0040.00417.41
8.1.100.0070.00017.45
8.1.90.0050.00217.45
8.1.80.0000.00817.32
8.1.70.0030.00317.32
8.1.60.0080.00017.59
8.1.50.0040.00417.53
8.1.40.0000.00717.41
8.1.30.0040.00817.53
8.1.20.0080.00017.53
8.1.10.0070.00017.60
8.1.00.0000.00817.54
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0000.00718.46
8.0.270.0000.00717.23
8.0.260.0060.00017.16
8.0.250.0030.00316.99
8.0.240.0030.00316.87
8.0.230.0040.00417.04
8.0.220.0000.00716.91
8.0.210.0000.00716.94
8.0.200.0020.00516.88
8.0.190.0000.00716.97
8.0.180.0000.00716.82
8.0.170.0040.00716.88
8.0.160.0030.00516.93
8.0.150.0070.00016.89
8.0.140.0000.00816.79
8.0.130.0050.00013.34
8.0.120.0040.00416.86
8.0.110.0000.00716.85
8.0.100.0040.00416.76
8.0.90.0000.00816.88
8.0.80.0050.01116.93
8.0.70.0040.00416.73
8.0.60.0040.00416.90
8.0.50.0040.00416.83
8.0.30.0110.00717.07
8.0.20.0100.01017.40
8.0.10.0000.00717.13
8.0.00.0080.00916.75
7.4.330.0000.00615.55
7.4.320.0000.00716.44
7.4.300.0030.00316.58
7.4.290.0070.00016.47
7.4.280.0000.00716.59
7.4.270.0030.00316.48
7.4.260.0030.00316.49
7.4.250.0030.00516.50
7.4.240.0070.00016.51
7.4.230.0030.00316.50
7.4.220.0030.00616.69
7.4.210.0040.01316.49
7.4.200.0070.00016.38
7.4.160.0090.00816.49
7.4.140.0100.00817.86
7.4.130.0090.00816.58
7.4.120.0080.01116.60
7.4.110.0150.00616.56
7.4.100.0140.00716.52
7.4.90.0110.00816.54
7.4.80.0130.00319.39
7.4.70.0100.00716.46
7.4.60.0030.01316.51
7.4.50.0030.01016.47
7.4.40.0100.00716.65
7.4.00.0070.01014.77
7.3.330.0050.00013.43
7.3.320.0050.00013.28
7.3.310.0040.00416.40
7.3.300.0000.00716.36
7.3.290.0030.00316.22
7.3.280.0090.00716.36
7.3.260.0070.01416.46
7.3.240.0110.00716.46
7.3.230.0100.00716.44
7.3.210.0160.00316.42
7.3.200.0100.00616.49
7.3.190.0110.00716.60
7.3.180.0180.00316.54
7.3.170.0040.01516.33
7.3.160.0110.00416.48
7.2.330.0160.00816.68
7.2.320.0170.00316.47
7.2.310.0080.01416.86
7.2.300.0100.00616.57
7.2.290.0090.00916.52
7.2.60.1800.00914.74
7.2.50.1640.01114.90
7.2.40.1560.00715.60
7.2.30.1780.0037.88
7.2.20.1300.00915.56
7.2.10.1570.00815.26
7.2.00.1200.00815.47
7.1.200.0030.00615.71
7.1.170.1960.01013.59
7.1.160.1800.01416.97
7.1.150.1710.01317.05
7.1.140.1230.01316.81
7.1.130.1680.00917.00
7.1.120.1040.01116.95
7.1.110.1520.01015.87
7.1.100.1590.01416.23
7.1.90.1690.00916.31
7.1.80.2070.01016.36
7.1.70.1600.00915.11
7.1.60.1740.01733.15
7.1.50.1990.01332.96
7.1.40.2480.00932.78
7.1.30.1690.01732.85
7.1.20.1120.01032.90
7.1.10.0980.00714.82
7.1.00.2160.01414.92

preferences:
60.64 ms | 400 KiB | 5 Q