3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function execute($bound_input_params = NULL); } class bar extends PDOStatement implements foo { function execute($bound_input_params = NULL) { print'execute'; parent::execute($bound_input_params); } } $bar = new bar(); $bar->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.0140.00718.68
8.3.50.0070.01321.21
8.3.40.0090.01218.97
8.3.30.0070.00720.34
8.3.20.0000.00720.29
8.3.10.0040.00421.76
8.3.00.0000.00822.53
8.2.180.0130.00616.88
8.2.170.0080.00622.96
8.2.160.0080.00820.53
8.2.150.0050.00324.18
8.2.140.0060.01324.66
8.2.130.0040.00426.16
8.2.120.0080.00019.62
8.2.110.0040.00721.04
8.2.100.0120.00017.93
8.2.90.0030.00619.05
8.2.80.0050.00317.97
8.2.70.0030.00517.60
8.2.60.0040.00418.04
8.2.50.0030.00818.07
8.2.40.0000.00817.92
8.2.30.0040.00418.12
8.2.20.0000.00817.72
8.2.10.0000.00817.73
8.2.00.0060.00317.75
8.1.280.0140.00325.92
8.1.270.0070.00724.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00921.39
8.1.230.0070.00417.51
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.13
8.1.180.0080.00019.14
8.1.170.0040.00418.57
8.1.160.0050.00622.05
8.1.150.0040.00418.49
8.1.140.0000.00717.45
8.1.130.0030.00617.83
8.1.120.0070.00017.50
8.1.110.0000.00717.38
8.1.100.0080.00017.48
8.1.90.0040.00417.45
8.1.80.0000.00717.35
8.1.70.0000.00717.44
8.1.60.0030.00617.61
8.1.50.0040.00417.51
8.1.40.0000.00817.55
8.1.30.0050.00317.55
8.1.20.0030.00517.50
8.1.10.0000.00717.57
8.1.00.0030.00517.55
8.0.300.0000.01118.77
8.0.290.0090.00016.88
8.0.280.0000.00818.44
8.0.270.0070.00017.25
8.0.260.0030.00316.82
8.0.250.0030.00317.06
8.0.240.0080.00016.96
8.0.230.0030.00316.89
8.0.220.0000.00716.88
8.0.210.0000.00616.82
8.0.200.0030.00317.06
8.0.190.0000.00716.93
8.0.180.0000.00716.91
8.0.170.0000.00716.86
8.0.160.0040.00416.97
8.0.150.0040.00416.81
8.0.140.0000.00716.95
8.0.130.0030.00313.43
8.0.120.0080.00016.82
8.0.110.0040.00416.84
8.0.100.0040.00417.01
8.0.90.0070.00017.01
8.0.80.0150.00616.97
8.0.70.0050.00316.90
8.0.60.0050.00316.78
8.0.50.0000.00816.98
8.0.30.0100.00817.15
8.0.20.0120.00917.40
8.0.10.0040.00416.95
8.0.00.0100.01016.79
7.4.330.0000.00515.00
7.4.320.0000.00716.50
7.4.300.0000.00616.50
7.4.290.0000.00616.52
7.4.280.0000.00716.45
7.4.270.0060.00016.52
7.4.260.0030.00316.63
7.4.250.0030.00516.55
7.4.240.0050.00216.50
7.4.230.0030.00316.63
7.4.220.0090.00916.64
7.4.210.0060.01116.57
7.4.200.0030.00416.54
7.4.190.0080.00016.66
7.4.160.0100.00716.68
7.4.150.0120.00617.40
7.4.140.0090.01117.86
7.4.130.0150.00616.54
7.4.120.0070.01016.61
7.4.110.0100.00616.43
7.4.100.0140.00316.51
7.4.90.0120.00616.57
7.4.80.0100.00719.39
7.4.70.0090.00916.58
7.4.60.0100.00616.51
7.4.50.0050.00016.31
7.4.40.0070.01022.77
7.4.30.0090.00916.46
7.4.00.0080.00814.85
7.3.330.0050.00013.27
7.3.320.0000.00613.11
7.3.310.0030.00316.34
7.3.300.0070.00016.29
7.3.290.0140.00016.32
7.3.280.0080.00716.27
7.3.270.0140.01017.40
7.3.260.0240.00316.29
7.3.250.0070.01416.37
7.3.240.0170.00016.31
7.3.230.0030.01416.39
7.3.210.0080.00816.21
7.3.200.0030.01419.39
7.3.190.0140.00716.17
7.3.180.0150.00416.45
7.3.170.0120.00416.37
7.3.160.0080.00816.39
7.3.120.0060.01015.02
7.2.330.0170.00416.32
7.2.320.0000.02416.78
7.2.310.0170.00016.63
7.2.300.0060.00916.27
7.2.290.0130.00316.66
7.1.70.0080.00317.13
7.1.60.0030.01719.21
7.1.50.0070.01816.99
7.1.00.0030.06322.40
7.0.200.0100.01014.52
7.0.140.0030.07321.95
7.0.60.0030.04320.01
7.0.50.0030.04017.89
7.0.40.0030.05720.22
7.0.30.0230.03320.23
7.0.20.0300.04720.37
7.0.10.0230.08020.28
7.0.00.0070.04720.07
5.6.280.0000.07321.07
5.6.210.0030.08720.63
5.6.200.0070.07718.11
5.6.190.0070.05720.48
5.6.180.0070.06320.52
5.6.170.0270.07720.62
5.6.160.0100.07320.54
5.6.150.0070.04718.28
5.6.140.0070.07718.14
5.6.130.0170.07018.15
5.6.120.0100.08321.01
5.6.110.0070.08320.99
5.6.100.0070.08020.98
5.6.90.0100.05720.97
5.6.80.0070.08720.51
5.6.70.0370.06320.34
5.5.350.0030.06720.48
5.5.340.0000.05018.02
5.5.330.0230.06320.29
5.5.320.0230.08320.31
5.5.310.0230.04320.41
5.5.300.0070.08018.02
5.5.290.0070.08017.97
5.5.280.0170.07720.88
5.5.270.0100.07720.88
5.5.260.0100.08020.72
5.5.250.0100.05020.71
5.5.240.0070.04320.16
5.4.450.0700.06019.20
5.4.440.0730.06019.20
5.4.430.0630.04719.18
5.4.420.0800.06019.40
5.4.410.0200.06719.25
5.4.400.0370.06318.81
5.4.390.0370.06718.70
5.4.380.0230.05318.75
5.4.370.0170.04718.77
5.4.360.0230.06318.70
5.4.350.0040.04512.02
5.4.340.0090.04212.02
5.4.320.0050.05012.50
5.4.310.0080.03512.50
5.4.300.0040.03812.50
5.4.290.0050.03812.50
5.4.280.0060.03912.39
5.4.270.0110.03012.39
5.4.260.0080.03612.40
5.4.250.0070.07018.75
5.4.240.0130.04718.91
5.4.230.0100.05018.91
5.4.220.0200.05018.65
5.4.210.0100.07018.84
5.4.200.0170.06718.95
5.4.190.0230.06718.89
5.4.180.0170.04018.94
5.4.170.0030.06719.02
5.4.160.0100.07318.95
5.4.150.0100.06018.82
5.4.140.0130.05716.60
5.4.130.0130.05316.25
5.4.120.0200.04316.34
5.4.110.0230.06016.55
5.4.100.0130.04716.35
5.4.90.0100.07016.52
5.4.80.0000.05316.35
5.4.70.0130.06716.50
5.4.60.0100.04316.37
5.4.50.0000.05716.31
5.4.40.0070.07016.55
5.4.30.0200.03316.62
5.4.20.0070.06016.48
5.4.10.0200.04016.32
5.4.00.0170.04315.83
5.3.290.0050.04812.80
5.3.280.0130.07014.67
5.3.270.0130.05014.75
5.3.260.0100.05014.70
5.3.250.0030.06714.75
5.3.240.0130.04714.44
5.3.230.0070.05014.74
5.3.220.0170.04014.54
5.3.210.0130.05314.66
5.3.200.0100.07714.73
5.3.190.0070.05314.73
5.3.180.0070.05014.58
5.3.170.0170.04314.64
5.3.160.0130.05714.75
5.3.150.0030.05714.55
5.3.140.0030.07314.72
5.3.130.0170.05714.61
5.3.120.0100.05714.52
5.3.110.0170.04014.73
5.3.100.0070.07314.03
5.3.90.0130.04714.02
5.3.80.0130.04714.20
5.3.70.0100.04313.87
5.3.60.0100.04714.02
5.3.50.0130.05714.12
5.3.40.0130.04314.14
5.3.30.0130.04313.82
5.3.20.0170.05313.69
5.3.10.0100.06013.71
5.3.00.0100.07013.64
5.2.170.0030.04310.98
5.2.160.0100.03711.15
5.2.150.0070.04011.22
5.2.140.0100.04011.37
5.2.130.0100.03711.20
5.2.120.0100.03311.18
5.2.110.0170.04311.09
5.2.100.0030.04711.01
5.2.90.0030.04310.94
5.2.80.0070.06011.17
5.2.70.0070.04311.17
5.2.60.0170.03311.01
5.2.50.0170.04311.01
5.2.40.0100.05311.08
5.2.30.0070.04011.08
5.2.20.0070.04010.91
5.2.10.0070.03710.94
5.2.00.0100.05310.70
5.1.60.0070.03010.07
5.1.50.0030.03310.15
5.1.40.0070.0309.96
5.1.30.0070.04010.41
5.1.20.0070.03310.43
5.1.10.0070.0379.99
5.1.00.0070.0309.91
5.0.50.0000.0308.61
5.0.40.0070.0238.37
5.0.30.0030.0408.27
5.0.20.0000.0308.43
5.0.10.0070.0278.15
5.0.00.0030.0408.16
4.4.90.0170.0177.33
4.4.80.0100.0237.33
4.4.70.0030.0237.33
4.4.60.0030.0307.33
4.4.50.0070.0277.33
4.4.40.0070.0377.33
4.4.30.0100.0207.33
4.4.20.0000.0237.33
4.4.10.0030.0207.33
4.4.00.0100.0337.33
4.3.110.0030.0307.33
4.3.100.0000.0307.33
4.3.90.0070.0177.33
4.3.80.0000.0337.33
4.3.70.0070.0177.33
4.3.60.0030.0207.33
4.3.50.0070.0177.33
4.3.40.0070.0277.33
4.3.30.0070.0177.33
4.3.20.0030.0277.33
4.3.10.0000.0237.33
4.3.00.0170.0236.26

preferences:
38.9 ms | 401 KiB | 5 Q