3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Stmt1 extends \PDOStatement { public function execute(array $input_parameters = []) : self { return parent::execute($input_parameters); } } class Stmt2 extends \PDOStatement { public function execute(array $input_parameters = null) : self { return parent::execute($input_parameters); } }

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.00618.30
8.3.50.0070.00717.95
8.3.40.0130.00718.73
8.3.30.0110.00718.57
8.3.20.0040.00421.90
8.3.10.0080.00023.53
8.3.00.0040.00423.50
8.2.180.0110.00716.38
8.2.170.0110.00422.96
8.2.160.0070.00720.22
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0000.00819.66
8.2.120.0040.00426.35
8.2.110.0030.00622.23
8.2.100.0040.00717.78
8.2.90.0050.00317.49
8.2.80.0040.00417.97
8.2.70.0040.00417.78
8.2.60.0070.00017.91
8.2.50.0000.00818.10
8.2.40.0040.00419.17
8.2.30.0000.00719.16
8.2.20.0040.00419.63
8.2.10.0040.00419.15
8.2.00.0080.00019.28
8.1.280.0140.00025.92
8.1.270.0080.00018.75
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.29
8.1.230.0070.00317.83
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0080.00019.88
8.1.180.0030.00518.10
8.1.170.0030.00518.64
8.1.160.0070.00018.80
8.1.150.0050.00218.70
8.1.140.0050.00322.05
8.1.130.0040.00420.14
8.1.120.0030.00317.32
8.1.110.0050.00217.31
8.1.100.0040.00317.23
8.1.90.0000.00717.34
8.1.80.0040.00417.33
8.1.70.0030.00317.23
8.1.60.0000.00717.46
8.1.50.0090.00317.29
8.1.40.0000.00717.39
8.1.30.0050.00217.54
8.1.20.0000.00717.54
8.1.10.0040.00417.38
8.1.00.0040.00417.34
8.0.300.0040.00421.55
8.0.290.0050.00316.63
8.0.280.0070.00018.32
8.0.270.0070.00017.26
8.0.260.0060.00018.23
8.0.250.0000.00816.91
8.0.240.0000.00716.80
8.0.230.0000.00816.88
8.0.220.0030.00316.85
8.0.210.0070.00016.82
8.0.200.0060.00016.75
8.0.190.0000.00716.86
8.0.180.0060.00316.74
8.0.170.0040.00416.85
8.0.160.0030.00516.84
8.0.150.0070.00016.84
8.0.140.0000.00816.85
8.0.130.0030.00313.26
8.0.120.0050.00216.71
8.0.110.0040.00416.83
8.0.100.0030.00316.78
8.0.90.0050.00316.79
8.0.80.0060.00916.78
8.0.70.0000.00716.71
8.0.60.0030.00516.82
8.0.50.0040.00416.71
8.0.30.0060.01116.81
8.0.20.0060.02016.85
8.0.10.0070.00016.84
8.0.00.0110.00816.56
7.4.330.0030.00315.55
7.4.320.0000.00616.32
7.4.300.0080.00016.32
7.4.290.0000.00716.55
7.4.280.0040.00416.32
7.4.270.0030.00316.48
7.4.260.0030.00316.47
7.4.250.0040.00316.44
7.4.240.0020.00516.46
7.4.230.0030.00316.37
7.4.220.0000.00816.48
7.4.210.0070.00816.44
7.4.200.0030.00316.55
7.4.160.0070.01116.36
7.4.140.0100.01117.86
7.4.130.0100.00616.27
7.4.120.0130.01016.30
7.4.110.0040.01416.46
7.4.100.0110.01216.54
7.4.90.0100.00716.16
7.4.80.0090.00919.39
7.4.70.0090.01216.55
7.4.60.0130.00716.36
7.4.50.0060.00916.34
7.4.40.0030.01316.20
7.4.00.0070.01014.79
7.3.330.0020.00212.98
7.3.320.0000.00513.23
7.3.310.0000.00716.12
7.3.300.0070.00016.20
7.3.290.0030.00316.28
7.3.280.0050.01116.21
7.3.260.0110.00716.31
7.3.240.0120.00716.27
7.3.230.0130.00316.33
7.3.210.0100.00616.20
7.3.200.0040.01816.21
7.3.190.0070.01016.23
7.3.180.0150.00616.44
7.3.170.0150.00416.43
7.3.160.0130.00316.43
7.3.00.2370.00714.02
7.2.330.0150.00316.24
7.2.320.0090.00916.50
7.2.310.0130.00316.37
7.2.300.0080.00916.22
7.2.290.0060.01216.43
7.2.130.2630.00713.93
7.2.120.3510.01014.23
7.2.110.3650.00714.45
7.2.100.1830.00314.31
7.2.90.0190.00614.25
7.2.80.0090.00614.01
7.2.70.1350.01014.40
7.2.60.5890.01014.37
7.2.50.1720.01014.37
7.2.40.0800.01314.63
7.2.30.4900.00714.37
7.2.20.4380.00714.38
7.2.10.3910.01014.37
7.2.00.2590.00014.45
7.1.250.2740.00013.50
7.0.330.3070.00713.11
5.6.380.0100.01314.06

preferences:
62.08 ms | 401 KiB | 5 Q