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) { echo 'yes'; } } $bar = new Bar(); $bar->bar(new StdClass());

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.0060.01218.18
8.3.50.0130.00721.16
8.3.40.0090.00618.57
8.3.30.0070.01118.67
8.3.20.0040.01120.38
8.3.10.0040.00423.25
8.3.00.0080.00019.68
8.2.180.0120.00616.75
8.2.170.0070.00722.96
8.2.160.0120.00320.51
8.2.150.0090.00624.18
8.2.140.0040.01124.66
8.2.130.0050.00226.16
8.2.120.0060.00317.63
8.2.110.0030.00722.25
8.2.100.0070.00717.63
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0060.00618.05
8.2.50.0000.00818.07
8.2.40.0000.00719.31
8.2.30.0060.00319.80
8.2.20.0070.00017.51
8.2.10.0000.00718.00
8.2.00.0000.00817.91
8.1.280.0070.00725.92
8.1.270.0150.00620.36
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0050.00522.48
8.1.230.0050.00617.42
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0030.00617.23
8.1.180.0000.00718.10
8.1.170.0080.00018.59
8.1.160.0020.00521.87
8.1.150.0040.00418.88
8.1.140.0040.00417.32
8.1.130.0040.00417.58
8.1.120.0030.00317.37
8.1.110.0030.00617.40
8.1.100.0040.00317.39
8.1.90.0040.00417.41
8.1.80.0000.00717.45
8.1.70.0030.00517.39
8.1.60.0060.00317.64
8.1.50.0000.00917.40
8.1.40.0070.00017.44
8.1.30.0040.00417.56
8.1.20.0040.00417.49
8.1.10.0000.00717.50
8.1.00.0040.00417.37
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00718.47
8.0.270.0000.00717.18
8.0.260.0030.00317.30
8.0.250.0000.00717.01
8.0.240.0060.00016.98
8.0.230.0030.00316.95
8.0.220.0030.00316.85
8.0.210.0000.00716.85
8.0.200.0030.00316.97
8.0.190.0030.00517.00
8.0.180.0040.00416.81
8.0.170.0060.00316.91
8.0.160.0070.00016.95
8.0.150.0000.00816.96
8.0.140.0000.00716.89
8.0.130.0030.00313.30
8.0.120.0000.00816.87
8.0.110.0050.00316.82
8.0.100.0050.00516.77
8.0.90.0030.00316.86
8.0.80.0090.01216.96
8.0.70.0050.00316.88
8.0.60.0070.00016.79
8.0.50.0050.00217.01
8.0.30.0090.01017.13
8.0.20.0090.01317.40
8.0.10.0040.00416.91
8.0.00.0120.00516.93
7.4.330.0050.00015.08
7.4.320.0000.00616.38
7.4.300.0060.00016.56
7.4.290.0030.00316.59
7.4.280.0000.00816.55
7.4.270.0000.00716.50
7.4.260.0000.00616.47
7.4.250.0030.00516.55
7.4.240.0050.00216.46
7.4.230.0000.00716.42
7.4.220.0030.01516.65
7.4.210.0040.01216.56
7.4.200.0000.00716.57
7.4.160.0090.00616.40
7.4.150.0030.01517.40
7.4.140.0090.01317.86
7.4.130.0110.00916.48
7.4.120.0120.00416.47
7.4.110.0030.01716.38
7.4.100.0110.01116.57
7.4.90.0070.01016.50
7.4.80.0120.01219.39
7.4.70.0140.00316.34
7.4.60.0100.00616.39
7.4.50.0080.00016.30
7.4.40.0060.01016.37
7.4.30.0090.01316.43
7.4.00.0070.00814.94
7.3.330.0000.00613.31
7.3.320.0000.00513.21
7.3.310.0030.00316.39
7.3.300.0000.00616.36
7.3.290.0080.00716.32
7.3.280.0070.01116.31
7.3.270.0110.00617.40
7.3.260.0130.00416.20
7.3.250.0080.00916.31
7.3.240.0130.00316.43
7.3.230.0120.01216.39
7.3.210.0130.00316.29
7.3.200.0040.01216.64
7.3.190.0120.00316.52
7.3.180.0060.00916.33
7.3.170.0160.00316.47
7.3.160.0030.01816.43
7.3.120.0030.01014.76
7.3.110.0070.01115.08
7.3.100.0030.01014.80
7.3.90.0080.00514.84
7.3.80.0060.00614.74
7.3.70.0070.01014.46
7.3.60.0000.01014.68
7.3.50.0030.01014.56
7.3.40.0060.00614.70
7.3.30.0120.00014.46
7.3.20.0120.00316.69
7.3.10.0000.01316.72
7.3.00.0090.00316.56
7.2.330.0080.00816.73
7.2.320.0130.00716.26
7.2.310.0100.00716.32
7.2.300.0090.00616.60
7.2.290.0100.00716.50
7.2.250.0070.01114.56
7.2.240.0060.01215.02
7.2.230.0060.01215.07
7.2.220.0000.01414.96
7.2.210.0060.00914.78
7.2.200.0090.00614.64
7.2.190.0000.01214.65
7.2.180.0100.00314.91
7.2.170.0060.00814.95
7.2.60.0000.01616.82
7.2.00.0030.01019.30
7.1.330.0080.00815.57
7.1.320.0030.00615.83
7.1.310.0030.00615.85
7.1.300.0030.00615.44
7.1.290.0060.00615.61
7.1.280.0040.00715.70
7.1.270.0000.01515.71
7.1.260.0040.01215.58
7.1.200.0100.00315.59
7.1.100.0040.00718.00
7.1.70.0040.00417.00
7.1.60.0130.01020.03
7.1.50.0030.01616.91
7.1.00.0100.07022.33
7.0.200.0040.00416.67
7.0.110.0270.04019.89
7.0.100.0170.07020.01
7.0.90.0130.06019.93
7.0.80.0170.05319.96
7.0.70.0130.03319.91
7.0.60.0170.06719.95
7.0.50.0030.05319.95
7.0.40.0000.04719.86
7.0.30.0070.06719.71
7.0.20.0030.03719.86
7.0.10.0070.07719.84
7.0.00.0130.05719.84
5.6.280.0000.03321.10
5.6.260.0030.08320.69
5.6.250.0100.05020.68
5.6.240.0130.08020.71
5.6.230.0070.05720.51
5.6.220.0070.04320.54
5.6.210.0000.04320.61
5.6.200.0030.06020.62
5.6.190.0070.05020.86
5.6.180.0030.04020.60
5.6.170.0000.05020.57
5.6.160.0030.08020.56
5.6.150.0070.06720.62
5.6.140.0100.04320.70
5.6.130.0070.08320.61
5.6.120.0100.04020.58
5.6.110.0030.04720.61
5.6.100.0100.07720.62
5.6.90.0030.04720.64
5.6.80.0030.05019.97
5.6.70.0030.04020.07
5.6.60.0070.04019.93
5.6.50.0000.03720.02
5.6.40.0000.04019.98
5.6.30.0030.05320.01
5.6.20.0130.03019.91
5.6.10.0070.03320.22
5.6.00.0000.04020.05
5.5.380.0170.03317.47
5.5.370.0130.07017.52
5.5.360.0070.03717.55
5.5.350.0030.04017.55
5.5.340.0070.03718.26
5.5.330.0100.07718.05
5.5.320.0000.08018.10
5.5.310.0030.04018.05
5.5.300.0070.07317.91
5.5.290.0030.08017.83
5.5.280.0030.05018.22
5.5.270.0070.07717.91
5.5.260.0070.07718.25
5.5.250.0070.06017.96
5.5.240.0000.04017.32
5.5.230.0000.04017.23
5.5.220.0070.03317.47
5.5.210.0000.04017.51
5.5.200.0000.04017.21
5.5.190.0030.03317.49
5.5.180.0070.03017.45
5.5.160.0030.05317.49
5.5.150.0000.06717.27
5.5.140.0030.04017.47
5.5.130.0070.03317.45
5.5.120.0030.04017.26
5.5.110.0000.04017.18
5.5.100.0030.06317.21
5.5.90.0000.04017.50
5.5.80.0030.03717.36
5.5.70.0070.03317.46
5.5.60.0000.04017.17
5.5.50.0130.02317.47
5.5.40.0000.04017.32
5.5.30.0000.04017.33
5.5.20.0030.03317.16
5.5.10.0030.03317.31
5.5.00.0030.03017.34
5.4.450.0130.07319.28
5.4.440.0100.05319.33
5.4.430.0070.04019.33
5.4.420.0100.06719.48
5.4.410.0000.04019.23
5.4.400.0070.05019.19
5.4.390.0000.04018.95
5.4.380.0130.02719.01
5.4.370.0000.04319.14
5.4.360.0070.03319.23
5.4.350.0070.04719.18
5.4.340.0000.04019.34
5.4.320.0070.03719.16
5.4.310.0030.04018.99
5.4.300.0070.05019.16
5.4.290.0000.04319.14
5.4.280.0000.04019.02
5.4.270.0000.04019.00
5.4.260.0030.04019.18
5.4.250.0030.03719.17
5.4.240.0000.04018.99
5.4.230.0070.04019.00
5.4.220.0030.03718.94
5.4.210.0030.03719.33
5.4.200.0030.04319.16
5.4.190.0070.02719.23
5.4.180.0000.03319.17
5.4.170.0000.03319.01
5.4.160.0000.03319.07
5.4.150.0070.02719.20
5.4.140.0000.03316.41
5.4.130.0000.03316.53
5.4.120.0000.03016.45
5.4.110.0070.02716.31
5.4.100.0000.03716.37
5.4.90.0030.03016.55
5.4.80.0100.02716.51
5.4.70.0030.03016.46
5.4.60.0030.03716.23
5.4.50.0030.03016.63
5.4.40.0000.03716.46
5.4.30.0030.03016.44
5.4.20.0030.03016.54
5.4.10.0030.03716.54
5.4.00.0030.03016.07

preferences:
60.5 ms | 401 KiB | 5 Q