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 { 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.0030.01418.43
8.3.50.0120.00822.82
8.3.40.0040.01118.67
8.3.30.0130.00618.92
8.3.20.0040.00420.34
8.3.10.0040.00423.71
8.3.00.0090.00019.25
8.2.180.0120.00316.63
8.2.170.0100.01022.96
8.2.160.0070.01420.45
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00420.97
8.2.110.0030.00722.26
8.2.100.0060.00617.59
8.2.90.0040.00419.06
8.2.80.0040.00417.97
8.2.70.0080.00017.38
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0070.00018.03
8.2.30.0000.00817.98
8.2.20.0000.00717.52
8.2.10.0000.00717.81
8.2.00.0030.00517.54
8.1.280.0110.00725.92
8.1.270.0090.00023.84
8.1.260.0000.00726.35
8.1.250.0030.00728.09
8.1.240.0050.00523.84
8.1.230.0070.00418.97
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.10
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0060.00321.89
8.1.150.0040.00418.77
8.1.140.0000.00817.32
8.1.130.0040.00417.73
8.1.120.0050.00317.36
8.1.110.0070.00017.33
8.1.100.0000.00717.38
8.1.90.0000.00717.34
8.1.80.0030.00517.37
8.1.70.0070.00017.28
8.1.60.0000.00917.41
8.1.50.0040.00417.29
8.1.40.0040.00417.45
8.1.30.0060.00317.62
8.1.20.0040.00417.52
8.1.10.0040.00417.41
8.1.00.0040.00417.39
8.0.300.0000.00718.77
8.0.290.0090.00016.75
8.0.280.0000.00718.31
8.0.270.0000.00717.21
8.0.260.0030.00317.29
8.0.250.0070.00016.96
8.0.240.0070.00016.89
8.0.230.0070.00016.94
8.0.220.0000.00716.89
8.0.210.0030.00316.87
8.0.200.0030.00317.00
8.0.190.0040.00416.91
8.0.180.0070.00016.91
8.0.170.0050.00316.89
8.0.160.0000.00716.83
8.0.150.0070.00016.80
8.0.140.0000.00716.79
8.0.130.0000.00513.31
8.0.120.0000.00716.77
8.0.110.0000.00716.87
8.0.100.0000.00716.87
8.0.90.0030.00316.84
8.0.80.0090.00616.74
8.0.70.0080.00016.66
8.0.60.0080.00016.78
8.0.50.0000.00716.70
8.0.30.0150.00516.90
8.0.20.0150.00817.40
8.0.10.0000.00816.95
8.0.00.0120.00716.80
7.4.330.0030.00315.00
7.4.320.0000.00616.54
7.4.300.0030.00316.51
7.4.290.0030.00316.50
7.4.280.0030.00316.51
7.4.270.0080.00016.57
7.4.260.0040.00416.41
7.4.250.0050.00216.57
7.4.240.0060.00216.56
7.4.230.0030.00316.67
7.4.220.0130.01316.65
7.4.210.0100.00616.39
7.4.200.0070.00016.56
7.4.160.0060.00916.39
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0110.00716.57
7.4.120.0050.01216.40
7.4.110.0130.00516.51
7.4.100.0110.00716.54
7.4.90.0090.01016.32
7.4.80.0100.01019.39
7.4.70.0140.00316.35
7.4.60.0060.01016.30
7.4.50.0030.00516.05
7.4.40.0100.00716.41
7.4.30.0040.01216.39
7.4.00.0080.00814.98
7.3.330.0040.00413.23
7.3.320.0030.00313.04
7.3.310.0000.00716.21
7.3.300.0030.00316.18
7.3.290.0060.00916.25
7.3.280.0060.00916.21
7.3.270.0060.01217.40
7.3.260.0080.00816.29
7.3.250.0100.01016.23
7.3.240.0070.01016.20
7.3.230.0100.00716.39
7.3.210.0070.01116.09
7.3.200.0100.00616.31
7.3.190.0110.00616.18
7.3.180.0140.00716.25
7.3.170.0000.01516.32
7.3.160.0140.00516.26
7.3.120.0060.00914.80
7.3.110.0030.01614.40
7.3.100.0060.01214.64
7.3.90.0080.00314.78
7.3.80.0060.00314.41
7.3.70.0100.00614.78
7.3.60.0030.01314.68
7.3.50.0090.00314.64
7.3.40.0030.01014.58
7.3.30.0040.01114.81
7.3.20.0070.00716.63
7.3.10.0110.00716.50
7.3.00.0110.00316.43
7.2.330.0070.01116.63
7.2.320.0070.01016.53
7.2.310.0150.00016.29
7.2.300.0060.00916.40
7.2.290.0140.00716.18
7.2.250.0070.01014.84
7.2.240.0100.01014.76
7.2.230.0070.01314.78
7.2.220.0030.01014.73
7.2.210.0110.00314.89
7.2.200.0110.00414.53
7.2.190.0070.00314.95
7.2.180.0030.01014.84
7.2.170.0030.01414.82
7.2.00.0110.00019.24
7.1.330.0070.00715.27
7.1.320.0070.01015.77
7.1.310.0060.00315.54
7.1.300.0060.00915.68
7.1.290.0130.00315.72
7.1.280.0040.01215.70
7.1.270.0070.00715.42
7.1.260.0120.00315.71
7.1.100.0270.01017.61
7.1.70.0000.00816.81
7.1.60.0100.00619.46
7.1.50.0100.01416.93
7.1.00.0100.07022.31
7.0.200.0030.00616.56
7.0.140.0030.07322.09
7.0.60.0030.04019.81
7.0.50.0100.06717.96
7.0.40.0130.05020.23
7.0.30.0400.04720.17
7.0.20.0270.08320.09
7.0.10.0100.03720.20
7.0.00.0100.06320.23
5.6.280.0130.06721.05
5.6.210.0100.07720.76
5.6.200.0070.04318.16
5.6.190.0130.07320.61
5.6.180.0330.07320.47
5.6.170.0270.07320.62
5.6.160.0030.04020.46
5.6.150.0070.08018.29
5.6.140.0130.07718.17
5.6.130.0000.07718.14
5.6.120.0070.04021.02
5.6.110.0130.06720.90
5.6.100.0070.06020.98
5.6.90.0100.08021.11
5.6.80.0100.07320.36
5.6.70.3230.03320.38
5.5.350.0100.06720.41
5.5.340.0030.06717.98
5.5.330.0070.04020.27
5.5.320.0370.05020.31
5.5.310.0130.05720.50
5.5.300.0100.07718.01
5.5.290.0070.04018.07
5.5.280.0070.04020.66
5.5.270.0070.07320.74
5.5.260.0100.08020.77
5.5.250.0100.07720.57
5.5.240.0030.07020.26
5.4.450.0430.05319.52
5.4.440.0270.05319.38
5.4.430.0570.04019.45
5.4.420.0300.04019.50
5.4.410.0500.03719.44
5.4.400.0430.03719.00
5.4.390.0500.05019.09
5.4.380.0500.05718.70
5.4.370.0700.07018.78
5.4.360.0430.05318.62
5.4.350.0330.06018.79
5.4.340.0470.05318.61
5.4.320.0060.03712.50
5.4.310.0060.03812.50
5.4.300.0040.03912.50
5.4.290.0100.04812.50
5.4.280.0100.05112.40
5.4.270.0100.04812.40
5.4.260.0090.03412.40
5.4.250.0060.04312.40
5.4.240.0070.03712.40
5.4.230.0070.04112.39
5.4.220.0050.03712.39
5.4.210.0060.04712.39
5.4.200.0050.04012.39
5.4.190.0070.03812.39
5.4.180.0050.04012.38
5.4.170.0060.04312.40
5.4.160.0060.03512.39
5.4.150.0040.03712.39
5.4.140.0090.03412.08
5.4.130.0050.03712.06
5.4.120.0070.03312.02
5.4.110.0050.03612.01
5.4.100.0070.03612.02
5.4.90.0060.04212.01
5.4.80.0060.03612.01
5.4.70.0080.03312.01
5.4.60.0050.03512.01
5.4.50.0060.03512.02
5.4.40.0040.03712.00
5.4.30.0060.03712.00
5.4.20.0080.03311.99
5.4.10.0050.03812.00
5.4.00.0060.03911.48
5.3.290.0090.03812.80
5.3.280.0090.03512.71
5.3.270.0050.04012.73
5.3.260.0070.04012.72
5.3.250.0040.04012.72
5.3.240.0080.03512.72
5.3.230.0050.04312.71
5.3.220.0080.03712.68
5.3.210.0060.04012.68
5.3.200.0050.03812.68
5.3.190.0060.04512.68
5.3.180.0080.04812.67
5.3.170.0100.04912.67
5.3.160.0100.04012.67
5.3.150.0040.04112.67
5.3.140.0080.04812.66
5.3.130.0080.04512.66
5.3.120.0050.04012.66
5.3.110.0110.04112.66
5.3.100.0070.03912.12
5.3.90.0070.03512.10
5.3.80.0090.03612.10
5.3.70.0070.03512.10
5.3.60.0060.03612.08
5.3.50.0030.03912.03
5.3.40.0070.03612.03
5.3.30.0070.03411.98
5.3.20.0060.03611.77
5.3.10.0030.03811.73
5.3.00.0050.04011.72
5.2.170.0070.0299.22
5.2.160.0040.0369.22
5.2.150.0070.0459.23
5.2.140.0030.0329.22
5.2.130.0050.0339.18
5.2.120.0040.0299.18
5.2.110.0030.0309.19
5.2.100.0050.0279.18
5.2.90.0030.0299.18
5.2.80.0030.0329.18
5.2.70.0050.0409.18
5.2.60.0050.0309.13
5.2.50.0050.0319.10
5.2.40.0040.0299.07
5.2.30.0030.0319.05
5.2.20.0060.0279.04
5.2.10.0050.0288.94
5.2.00.0060.0398.81
5.1.60.0080.0328.09
5.1.50.0090.0258.09
5.1.40.0070.0238.07
5.1.30.0020.0298.42
5.1.20.0050.0288.44
5.1.10.0030.0288.16
5.1.00.0040.0268.17
5.0.50.0030.0216.64
5.0.40.0040.0196.50
5.0.30.0030.0316.32
5.0.20.0020.0216.28
5.0.10.0050.0276.26
5.0.00.0080.0326.25
4.4.90.0040.0154.78
4.4.80.0020.0164.76
4.4.70.0040.0194.75
4.4.60.0020.0204.76
4.4.50.0020.0184.77
4.4.40.0040.0284.71
4.4.30.0040.0144.76
4.4.20.0040.0144.84
4.4.10.0050.0134.85
4.4.00.0040.0244.76
4.3.110.0050.0134.67
4.3.100.0030.0154.66
4.3.90.0030.0144.64
4.3.80.0030.0324.59
4.3.70.0020.0154.63
4.3.60.0040.0134.62
4.3.50.0030.0154.63
4.3.40.0020.0244.53
4.3.30.0040.0143.30
4.3.20.0040.0153.28
4.3.10.0020.0173.24
4.3.00.0030.02015.68

preferences:
41.2 ms | 401 KiB | 5 Q