3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Stmt1 extends \PDOStatement { public function execute($input_parameters = []) : self { return parent::execute($input_parameters); } } class Stmt2 extends \PDOStatement { public function execute($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.0110.00718.56
8.3.50.0100.00317.85
8.3.40.0160.00318.67
8.3.30.0090.00618.71
8.3.20.0040.00421.94
8.3.10.0080.00023.64
8.3.00.0070.00023.48
8.2.180.0160.00316.75
8.2.170.0100.01022.96
8.2.160.0090.00620.34
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00421.06
8.2.110.0060.00322.31
8.2.100.0080.00417.44
8.2.90.0040.00417.63
8.2.80.0000.00817.97
8.2.70.0030.00517.68
8.2.60.0000.00818.03
8.2.50.0050.00318.10
8.2.40.0060.00319.22
8.2.30.0040.00419.20
8.2.20.0030.00519.72
8.2.10.0060.00319.11
8.2.00.0040.00419.41
8.1.280.0040.01125.92
8.1.270.0030.00618.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.42
8.1.230.0080.00417.58
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00817.23
8.1.190.0000.00819.18
8.1.180.0080.00018.10
8.1.170.0000.00818.54
8.1.160.0050.00218.81
8.1.150.0050.00318.67
8.1.140.0040.00423.92
8.1.130.0000.00719.95
8.1.120.0050.00217.36
8.1.110.0030.00617.24
8.1.100.0050.00217.23
8.1.90.0000.00817.23
8.1.80.0000.00717.36
8.1.70.0000.00717.24
8.1.60.0040.00417.37
8.1.50.0070.00317.29
8.1.40.0040.00417.29
8.1.30.0030.00517.48
8.1.20.0000.00717.44
8.1.10.0050.00317.30
8.1.00.0040.00417.31
8.0.300.0000.00821.34
8.0.290.0040.00416.63
8.0.280.0000.00718.23
8.0.270.0040.00417.05
8.0.260.0030.00318.38
8.0.250.0060.00016.88
8.0.240.0050.00216.88
8.0.230.0000.00716.66
8.0.220.0000.00716.77
8.0.210.0050.00316.80
8.0.200.0030.00316.75
8.0.190.0040.00416.83
8.0.180.0040.00416.68
8.0.170.0030.00516.71
8.0.160.0000.00716.70
8.0.150.0000.00716.73
8.0.140.0030.00516.74
8.0.130.0000.00813.15
8.0.120.0080.00016.77
8.0.110.0040.00416.78
8.0.100.0000.00716.63
8.0.90.0030.00316.82
8.0.80.0060.00916.76
8.0.70.0040.00416.76
8.0.60.0000.00716.58
8.0.50.0070.00016.66
8.0.30.0110.00717.06
8.0.20.0070.02016.80
8.0.10.0000.00716.92
8.0.00.0090.01216.70
7.4.330.0050.00015.55
7.4.320.0030.00316.37
7.4.300.0070.00016.39
7.4.290.0070.00016.50
7.4.280.0050.00316.32
7.4.270.0000.00616.23
7.4.260.0030.00316.50
7.4.250.0070.00016.25
7.4.240.0020.00516.45
7.4.230.0040.00416.39
7.4.220.0030.00516.42
7.4.210.0030.01316.44
7.4.200.0040.00416.45
7.4.160.0120.00516.27
7.4.140.0120.01217.86
7.4.130.0070.01116.52
7.4.120.0140.00716.46
7.4.110.0100.00716.52
7.4.100.0110.00816.30
7.4.90.0130.00416.34
7.4.80.0000.02019.39
7.4.70.0150.00616.43
7.4.60.0060.01016.34
7.4.50.0070.01016.32
7.4.40.0110.00516.34
7.4.00.0090.00614.84
7.3.330.0000.00513.18
7.3.320.0030.00313.25
7.3.310.0030.00316.19
7.3.300.0030.00316.11
7.3.290.0040.00416.09
7.3.280.0070.00916.17
7.3.260.0110.00616.25
7.3.240.0090.00916.23
7.3.230.0160.00316.39
7.3.210.0100.00716.28
7.3.200.0090.00616.22
7.3.190.0110.01116.45
7.3.180.0060.01016.28
7.3.170.0190.00316.43
7.3.160.0060.01016.18
7.3.10.0080.00716.33
7.3.00.1090.01215.50
7.2.330.0100.00716.25
7.2.320.0090.01216.29
7.2.310.0040.01216.30
7.2.300.0060.01116.58
7.2.290.0110.00716.31
7.2.130.1350.01015.72
7.2.120.0570.01015.78
7.2.110.0700.00715.79
7.2.100.0640.00415.75
7.2.90.0450.01015.82
7.2.80.0140.01115.62
7.2.70.0170.01115.83
7.2.60.0530.00615.73
7.2.50.0420.00715.83
7.2.40.0150.00615.71
7.2.30.0080.01015.80
7.2.20.0080.00715.72
7.2.10.1120.00615.86
7.2.00.0390.00715.87
7.1.250.0280.00914.85
7.0.330.0450.00712.93
5.6.380.0140.00413.88

preferences:
39.57 ms | 400 KiB | 5 Q