3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { public function bar(\StdClass $objec); } class Foo { public function bar(\StdClass $objec) { } } class Bar extends Foo { public function bar(\StdClass $object, array $array) { echo 'yes'; } } $bar = new Bar(); $bar->bar(new \StdClass(), 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.0110.00716.75
8.3.50.0140.00716.59
8.3.40.0120.00318.50
8.3.30.0070.01118.63
8.3.20.0120.00620.21
8.3.10.0080.00023.61
8.3.00.0080.00019.56
8.2.180.0150.00316.75
8.2.170.0120.00322.96
8.2.160.0170.00320.32
8.2.150.0120.00624.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0060.00317.50
8.2.110.0030.00622.16
8.2.100.0080.00417.50
8.2.90.0040.00418.97
8.2.80.0050.00317.97
8.2.70.0050.00317.38
8.2.60.0060.00317.80
8.2.50.0000.00818.07
8.2.40.0060.00319.38
8.2.30.0000.00719.76
8.2.20.0030.00517.52
8.2.10.0000.00717.85
8.2.00.0000.00717.91
8.1.280.0140.00425.92
8.1.270.0030.01720.24
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00322.34
8.1.230.0060.00617.42
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00917.11
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0040.00418.50
8.1.160.0030.00321.96
8.1.150.0020.00518.77
8.1.140.0000.00817.32
8.1.130.0000.00717.38
8.1.120.0040.00417.36
8.1.110.0040.00417.34
8.1.100.0070.00017.34
8.1.90.0050.00317.29
8.1.80.0000.00717.21
8.1.70.0040.00417.21
8.1.60.0000.00817.45
8.1.50.0070.00317.36
8.1.40.0040.00417.42
8.1.30.0000.00817.51
8.1.20.0040.00417.46
8.1.10.0040.00417.28
8.1.00.0050.00317.21
8.0.300.0030.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.32
8.0.270.0000.00717.14
8.0.260.0030.00316.75
8.0.250.0030.00316.97
8.0.240.0060.00016.90
8.0.230.0070.00016.90
8.0.220.0000.00716.81
8.0.210.0040.00416.88
8.0.200.0030.00316.79
8.0.190.0020.00516.88
8.0.180.0030.00516.87
8.0.170.0030.00516.76
8.0.160.0040.00416.87
8.0.150.0000.00716.80
8.0.140.0000.00716.70
8.0.130.0050.00013.26
8.0.120.0040.00416.83
8.0.110.0040.00416.70
8.0.100.0050.00316.65
8.0.90.0030.00516.64
8.0.80.0120.00316.78
8.0.70.0040.00416.86
8.0.60.0060.00316.89
8.0.50.0000.00816.68
8.0.30.0110.00816.91
8.0.20.0070.01117.40
8.0.10.0000.00716.92
8.0.00.0070.01016.54
7.4.330.0020.00215.08
7.4.320.0000.00616.48
7.4.300.0000.00616.44
7.4.290.0030.00516.53
7.4.280.0000.00816.44
7.4.270.0030.00316.57
7.4.260.0000.00716.36
7.4.250.0070.00016.49
7.4.240.0060.00116.57
7.4.230.0030.00316.27
7.4.220.0030.01316.57
7.4.210.0070.01116.64
7.4.200.0000.00716.30
7.4.160.0130.00316.42
7.4.150.0070.01017.40
7.4.140.0160.00617.86
7.4.130.0080.01116.53
7.4.120.0060.01016.40
7.4.110.0210.00316.30
7.4.100.0060.01216.51
7.4.90.0130.00416.60
7.4.80.0120.00619.39
7.4.70.0030.01716.64
7.4.60.0060.01216.53
7.4.50.0040.00416.54
7.4.40.0030.01416.27
7.4.30.0200.00416.53
7.4.00.0000.01315.09
7.3.330.0030.00313.32
7.3.320.0000.00613.27
7.3.310.0030.00516.39
7.3.300.0030.00316.21
7.3.290.0080.00716.35
7.3.280.0090.01016.33
7.3.270.0130.00417.40
7.3.260.0110.00516.51
7.3.250.0100.00716.38
7.3.240.0060.00916.56
7.3.230.0140.00816.57
7.3.210.0060.01016.40
7.3.200.0040.01216.60
7.3.190.0160.00016.29
7.3.180.0030.01316.43
7.3.170.0130.00916.48
7.3.160.0030.01316.34
7.3.10.0090.00716.18
7.3.00.0050.01216.32
7.2.330.0090.00816.32
7.2.320.0130.01016.56
7.2.310.0100.00716.60
7.2.300.0100.00616.20
7.2.290.0080.00816.50
7.2.130.0100.00516.62
7.2.120.0100.00816.43
7.2.110.0060.00716.45
7.2.100.0120.00716.70
7.2.90.0110.00516.55
7.2.80.0070.01116.35
7.2.70.0090.00916.34
7.2.60.0050.01016.56
7.2.50.0130.00616.27
7.2.40.0060.01116.56
7.2.30.0170.00616.57
7.2.20.0200.00116.59
7.2.10.0170.00916.53
7.2.00.0100.00617.44
7.1.250.0030.00815.40
7.1.200.0140.00015.51
7.1.100.0030.01017.82
7.1.70.0030.00617.15
7.1.60.0110.01420.03
7.1.50.0040.01516.85
7.1.00.0100.07022.36
7.0.200.0140.00016.74
7.0.110.0800.07020.07
7.0.100.0830.08020.00
7.0.90.0730.07719.90
7.0.80.0130.07319.93
7.0.70.0070.07719.92
7.0.60.0030.07719.87
7.0.50.0230.06319.91
7.0.40.0130.08019.69
7.0.30.0070.04719.87
7.0.20.0070.08019.86
7.0.10.0130.06019.66
7.0.00.0070.08019.70
5.6.280.0000.03320.82
5.6.260.0130.07720.65
5.6.250.0000.07020.68
5.6.240.0130.05020.70
5.6.230.0070.08320.70
5.6.220.0100.07320.70
5.6.210.0100.08320.66
5.6.200.0000.06020.57
5.6.190.0030.09020.65
5.6.180.0030.07720.66
5.6.170.0130.07720.64
5.6.160.0100.07020.86
5.6.150.0100.08320.48
5.6.140.0130.08020.69
5.6.130.0100.07020.65
5.6.120.0130.05720.70
5.6.110.0100.08020.46
5.6.100.0170.07320.55
5.6.90.0030.08720.64
5.6.80.0100.07019.95
5.6.70.0030.08320.06
5.6.60.0200.06719.93
5.6.50.0130.07319.93
5.6.40.0030.07019.92
5.6.30.0030.08319.96
5.6.20.0070.07319.91
5.6.10.0230.03019.83
5.6.00.0070.08020.00
5.5.380.0030.08720.33
5.5.370.0100.07720.58
5.5.360.0070.08020.52
5.5.350.0030.08720.45
5.5.340.0130.07320.78
5.5.330.0100.07720.70
5.5.320.0170.06020.81
5.5.310.0130.06720.89
5.5.300.0170.07720.68
5.5.290.0130.07021.01
5.5.280.0170.08320.95
5.5.270.0070.08020.80
5.5.260.0100.08321.00
5.5.250.0070.08020.59
5.5.240.0100.07020.27
5.5.230.0030.08020.18
5.5.220.0030.07720.21
5.5.210.0130.07320.28
5.5.200.0030.08020.32
5.5.190.0130.07720.12
5.5.180.0070.04720.19
5.5.160.0000.07320.30
5.5.150.0100.07020.31
5.5.140.0130.07720.31
5.5.130.0030.08020.38
5.5.120.0070.07720.16
5.5.110.0100.06320.15
5.5.100.0000.08320.00
5.5.90.0170.07020.07
5.5.80.0030.07320.16
5.5.70.0070.08020.23
5.5.60.0070.07019.98
5.5.50.0030.06020.00
5.5.40.0070.08320.20
5.5.30.0070.07319.97
5.5.20.0100.07320.08
5.5.10.0170.07020.11
5.5.00.0030.05020.10
5.4.450.0100.05019.67
5.4.440.0070.07719.31
5.4.430.0100.06719.50
5.4.420.0070.08319.64
5.4.410.0070.04319.38
5.4.400.0070.07319.18
5.4.390.0030.08319.18
5.4.380.0070.07319.14
5.4.370.0000.08719.14
5.4.360.0070.07319.31
5.4.350.0070.07019.24
5.4.340.0030.08019.18
5.4.320.0100.06719.01
5.4.310.0030.08019.16
5.4.300.0030.07319.24
5.4.290.0070.07719.01
5.4.280.0030.08019.23
5.4.270.0170.04318.99
5.4.260.0070.04719.20
5.4.250.0000.07719.19
5.4.240.0000.08019.33
5.4.230.0030.08319.14
5.4.220.0030.07319.24
5.4.210.0070.07318.98
5.4.200.0070.07719.17
5.4.190.0170.06719.00
5.4.180.0000.05019.18
5.4.170.0030.06319.21
5.4.160.0130.07018.98
5.4.150.0230.06019.07
5.4.140.0030.06716.35
5.4.130.0030.07016.37
5.4.120.0100.06316.70
5.4.110.0030.06716.46
5.4.100.0170.03716.64
5.4.90.0070.07316.37
5.4.80.0100.06716.29
5.4.70.0130.06716.54
5.4.60.0100.06716.38
5.4.50.0070.07016.48
5.4.40.0030.07716.29
5.4.30.0100.07016.62
5.4.20.0100.07316.56
5.4.10.0000.07316.28
5.4.00.0130.06715.83

preferences:
40.82 ms | 400 KiB | 5 Q