3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function callMeh(Foo $foo) { $foo->meh(); } public function meh() { var_dump('Calling in base class'); } } class Baz extends Foo { use Bar; public function meh() { parent::meh(); } } Foo::callMeh(new Baz());

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.0080.00818.55
8.3.50.0120.00422.80
8.3.40.0070.00718.75
8.3.30.0110.00718.88
8.3.20.0070.00020.18
8.3.10.0040.00423.48
8.3.00.0080.00019.25
8.2.180.0130.00916.32
8.2.170.0100.00722.96
8.2.160.0110.00420.49
8.2.150.0050.00224.18
8.2.140.0000.00724.66
8.2.130.0030.00626.16
8.2.120.0070.00020.96
8.2.110.0060.00322.20
8.2.100.0120.00017.72
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0000.00917.38
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0030.00517.97
8.2.30.0000.00817.93
8.2.20.0040.00417.55
8.2.10.0050.00318.09
8.2.00.0060.00317.63
8.1.280.0120.00325.92
8.1.270.0110.00723.78
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.87
8.1.230.0110.00019.15
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00517.25
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0000.00818.45
8.1.160.0000.00721.88
8.1.150.0030.00518.87
8.1.140.0040.00417.39
8.1.130.0070.00017.75
8.1.120.0030.00317.37
8.1.110.0040.00417.41
8.1.100.0030.00317.48
8.1.90.0000.00717.28
8.1.80.0030.00317.43
8.1.70.0050.00217.36
8.1.60.0030.00517.53
8.1.50.0030.00517.40
8.1.40.0050.00217.34
8.1.30.0000.00917.56
8.1.20.0000.00717.54
8.1.10.0040.00417.45
8.1.00.0060.00317.29
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.30
8.0.270.0000.00817.26
8.0.260.0030.00317.09
8.0.250.0030.00316.95
8.0.240.0070.00016.95
8.0.230.0000.00716.80
8.0.220.0070.00016.89
8.0.210.0000.00716.90
8.0.200.0000.00716.93
8.0.190.0030.00516.89
8.0.180.0050.00216.80
8.0.170.0040.00416.89
8.0.160.0000.00716.77
8.0.150.0000.00716.86
8.0.140.0040.00416.81
8.0.130.0000.00513.31
8.0.120.0050.00316.75
8.0.110.0000.00716.78
8.0.100.0040.00416.80
8.0.90.0040.00416.79
8.0.80.0090.00616.89
8.0.70.0000.00716.71
8.0.60.0080.00016.79
8.0.50.0040.00416.80
8.0.30.0100.01117.06
8.0.20.0080.01117.40
8.0.10.0050.00316.97
8.0.00.0080.00916.64
7.4.330.0030.00315.09
7.4.320.0070.00016.54
7.4.300.0040.00416.44
7.4.290.0070.00016.44
7.4.280.0080.00016.41
7.4.270.0050.00316.38
7.4.260.0000.00716.36
7.4.250.0000.00816.49
7.4.240.0040.00416.48
7.4.230.0040.00416.57
7.4.220.0120.01216.54
7.4.210.0070.01316.39
7.4.200.0040.00416.56
7.4.160.0150.00016.52
7.4.150.0090.00917.40
7.4.140.0060.01017.86
7.4.130.0090.00916.28
7.4.120.0120.00516.42
7.4.110.0060.01216.50
7.4.100.0130.00316.54
7.4.90.0140.00316.38
7.4.80.0070.01019.39
7.4.70.0030.01316.24
7.4.60.0070.01016.55
7.4.50.0000.00716.55
7.4.40.0170.00016.35
7.4.30.0040.01116.39
7.4.00.0060.01114.98
7.3.330.0040.00413.24
7.3.320.0000.00613.22
7.3.310.0030.00316.30
7.3.300.0030.00316.25
7.3.290.0030.01316.31
7.3.280.0080.00816.26
7.3.270.0160.01017.40
7.3.260.0040.01316.30
7.3.250.0050.01116.31
7.3.240.0100.00716.34
7.3.230.0190.00316.39
7.3.210.0040.01416.45
7.3.200.0140.00419.39
7.3.190.0110.00516.50
7.3.180.0090.00616.48
7.3.170.0090.00616.27
7.3.160.0100.01016.24
7.3.120.0070.01014.95
7.3.110.0100.01014.36
7.3.100.0030.01014.51
7.3.90.0070.00314.76
7.3.80.0030.00914.96
7.3.70.0060.01014.82
7.3.60.0030.01314.67
7.3.50.0090.00014.83
7.3.40.0000.01414.73
7.3.30.0070.00714.79
7.3.20.0030.00616.57
7.3.10.0150.00016.57
7.3.00.0070.00716.57
7.2.330.0090.00916.30
7.2.320.0110.00616.45
7.2.310.0030.01216.54
7.2.300.0090.00616.52
7.2.290.0130.00316.67
7.2.250.0050.01414.99
7.2.240.0000.01814.64
7.2.230.0110.00714.84
7.2.220.0040.01115.12
7.2.210.0000.01614.82
7.2.200.0060.00915.10
7.2.190.0070.00314.93
7.2.180.0040.00714.84
7.2.170.0000.01415.00
7.2.00.0040.01419.34
7.1.330.0030.01015.63
7.1.320.0030.01015.61
7.1.310.0030.00915.74
7.1.300.0060.00615.66
7.1.290.0120.00015.65
7.1.280.0100.00315.73
7.1.270.0120.00015.69
7.1.260.0070.00715.42
7.1.200.0100.00015.35
7.1.100.0060.00617.93
7.1.70.0040.00716.94
7.1.60.0110.00017.22
7.1.50.0060.01916.69
7.1.00.0030.07722.50
7.0.200.0080.00816.42
7.0.140.0030.06722.13
7.0.60.0030.09021.77
7.0.50.0070.04317.96
7.0.40.0100.08320.40
7.0.30.0230.06720.33
7.0.20.0270.07720.05
7.0.10.0130.08020.23
7.0.00.0100.05720.24
5.6.280.0100.07020.83
5.6.210.0070.09020.51
5.6.200.0130.07718.30
5.6.190.0130.07320.33
5.6.180.3770.04020.63
5.6.170.0270.05020.40
5.6.160.0130.07720.51
5.6.150.0100.05018.23
5.6.140.0070.08318.18
5.6.130.0030.09018.27
5.6.120.0070.04721.10
5.6.110.0070.08021.02
5.6.100.0200.06321.10
5.6.90.0070.06020.97
5.6.80.0170.06720.38
5.5.350.4300.04020.54
5.5.340.0000.04718.02
5.5.330.0100.06720.57
5.5.320.0400.04720.29
5.5.310.0300.03020.51
5.5.300.0100.06717.92
5.5.290.0000.05718.09
5.5.280.0070.08320.88
5.5.270.0070.08320.87
5.5.260.0100.08320.68
5.5.250.0030.05720.62
5.5.240.0230.05720.27
5.4.450.0330.04719.48
5.4.440.0170.04719.48
5.4.430.0470.04019.47
5.4.420.0600.05019.16
5.4.410.0400.04319.20
5.4.400.0370.03319.32
5.4.390.0500.06718.87
5.4.380.0230.05718.70
5.4.370.0370.05318.63
5.4.360.0370.05018.56
5.4.350.0570.04018.62
5.4.340.0430.05718.79
5.4.320.0080.03412.51
5.4.310.0050.03912.50
5.4.300.0070.03512.50
5.4.290.0060.03812.50
5.4.280.0080.05112.39
5.4.270.0110.03512.40
5.4.260.0090.03712.39
5.4.250.0050.04312.39
5.4.240.0060.03712.40
5.4.230.0040.03912.39
5.4.220.0050.04212.39
5.4.210.0060.04512.39
5.4.200.0080.03612.39
5.4.190.0070.04012.39
5.4.180.0100.03212.38
5.4.170.0060.04412.40
5.4.160.0100.03712.39
5.4.150.0110.03112.39
5.4.140.0060.03812.08
5.4.130.0050.03612.06
5.4.120.0050.03512.02
5.4.110.0080.03312.02
5.4.100.0100.03112.01
5.4.90.0080.03512.01
5.4.80.0050.04212.02
5.4.70.0080.04012.02
5.4.60.0070.03212.01
5.4.50.0060.04212.01
5.4.40.0070.04212.00
5.4.30.0070.03412.00
5.4.20.0050.03712.00
5.4.10.0040.04112.00
5.4.00.0070.03511.49
5.3.290.0060.03912.80
5.3.280.0100.04512.71
5.3.270.0060.05012.73
5.3.260.0090.03712.72
5.3.250.0080.05412.72
5.3.240.0070.05212.72
5.3.230.0050.03912.71
5.3.220.0040.03812.68
5.3.210.0100.04012.68
5.3.200.0080.04512.68
5.3.190.0070.03712.68
5.3.180.0030.04012.67
5.3.170.0050.03812.67
5.3.160.0060.03712.68
5.3.150.0050.03812.67
5.3.140.0060.04012.66
5.3.130.0060.03812.66
5.3.120.0060.03912.66
5.3.110.0070.03812.66
5.3.100.0060.03612.13
5.3.90.0030.03812.11
5.3.80.0040.03812.10
5.3.70.0100.04112.10
5.3.60.0070.04812.09
5.3.50.0090.03612.03
5.3.40.0060.03612.03
5.3.30.0020.03811.99
5.3.20.0070.03311.77
5.3.10.0050.03511.74
5.3.00.0040.03811.72
5.2.170.0090.0289.23
5.2.160.0050.0299.23
5.2.150.0050.0319.22
5.2.140.0070.0309.22
5.2.130.0040.0299.18
5.2.120.0040.0289.18
5.2.110.0080.0399.19
5.2.100.0060.0379.19
5.2.90.0060.0279.18
5.2.80.0060.0309.18
5.2.70.0050.0349.18
5.2.60.0040.0329.14
5.2.50.0080.0379.11
5.2.40.0070.0309.08
5.2.30.0050.0309.05
5.2.20.0050.0359.04
5.2.10.0070.0298.95
5.2.00.0060.0328.81
5.1.60.0050.0258.09
5.1.50.0040.0268.09
5.1.40.0050.0268.07
5.1.30.0030.0278.42
5.1.20.0060.0258.45
5.1.10.0020.0288.16
5.1.00.0040.0258.17
5.0.50.0050.0276.64
5.0.40.0050.0276.51
5.0.30.0040.0386.32
5.0.20.0040.0196.28
5.0.10.0040.0196.26
5.0.00.0040.0306.25
4.4.90.0030.0154.78
4.4.80.0020.0164.76
4.4.70.0040.0324.75
4.4.60.0030.0244.76
4.4.50.0030.0204.77
4.4.40.0030.0284.71
4.4.30.0060.0224.76
4.4.20.0030.0224.84
4.4.10.0010.0224.85
4.4.00.0030.0324.76
4.3.110.0030.0224.67
4.3.100.0020.0164.66
4.3.90.0040.0134.63
4.3.80.0040.0274.58
4.3.70.0020.0154.63
4.3.60.0020.0294.63
4.3.50.0050.0214.63
4.3.40.0040.0344.54
4.3.30.0020.0243.30
4.3.20.0050.0273.28
4.3.10.0020.0213.23
4.3.00.0030.02015.68

preferences:
44.64 ms | 401 KiB | 5 Q