3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { public function __construct() { } public function __invoke() { } public function foo() { } public static function bar() { } } //$r = new ReflectionMethod('TestClass::foo'); //$r = new ReflectionMethod('TestClass::__construct'); $r = new ReflectionMethod(new TestClass(), '__construct'); var_dump($r->class, $r->name);

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.0100.00718.18
8.3.50.0050.01421.98
8.3.40.0110.00418.53
8.3.30.0140.00018.92
8.3.20.0080.00020.37
8.3.10.0000.00920.25
8.3.00.0080.00017.63
8.2.180.0110.00716.75
8.2.170.0040.01122.96
8.2.160.0110.00420.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00422.24
8.2.110.0090.00020.40
8.2.100.0080.00318.09
8.2.90.0000.00819.13
8.2.80.0000.00817.97
8.2.70.0060.00317.34
8.2.60.0070.00017.91
8.2.50.0050.00318.07
8.2.40.0000.00818.22
8.2.30.0070.00017.90
8.2.20.0000.00817.62
8.2.10.0070.00018.05
8.2.00.0000.00817.66
8.1.280.0120.00325.92
8.1.270.0000.00824.04
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0090.00318.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0000.00718.47
8.1.160.0070.00022.00
8.1.150.0040.00418.87
8.1.140.0000.00717.25
8.1.130.0000.00817.69
8.1.120.0040.00317.30
8.1.110.0070.00017.27
8.1.100.0000.00717.31
8.1.90.0000.00717.29
8.1.80.0000.00817.39
8.1.70.0040.00417.37
8.1.60.0040.00417.61
8.1.50.0020.00517.55
8.1.40.0030.00617.59
8.1.30.0000.00817.64
8.1.20.0040.00417.58
8.1.10.0040.00417.52
8.1.00.0050.00317.40
8.0.300.0000.00718.77
8.0.290.0020.00516.58
8.0.280.0070.00018.48
8.0.270.0030.00317.24
8.0.260.0000.00617.10
8.0.250.0070.00016.94
8.0.240.0040.00416.91
8.0.230.0000.00716.92
8.0.220.0030.00316.84
8.0.210.0000.00716.80
8.0.200.0000.00616.80
8.0.190.0000.00916.93
8.0.180.0000.00716.77
8.0.170.0040.00416.79
8.0.160.0080.00016.72
8.0.150.0000.00716.68
8.0.140.0040.00416.68
8.0.130.0030.00313.18
8.0.120.0070.00016.69
8.0.110.0000.00716.87
8.0.100.0040.00416.71
8.0.90.0040.00416.85
8.0.80.0040.01116.81
8.0.70.0070.00016.70
8.0.60.0040.00416.64
8.0.50.0040.00416.77
8.0.30.0140.00517.08
8.0.20.0190.00617.40
8.0.10.0040.00416.94
8.0.00.0080.00916.66
7.4.330.0050.00015.00
7.4.320.0040.00416.46
7.4.300.0000.00616.49
7.4.290.0030.00316.62
7.4.280.0000.00816.54
7.4.270.0040.00416.51
7.4.260.0040.00416.50
7.4.250.0040.00416.37
7.4.240.0040.00416.60
7.4.230.0030.00316.61
7.4.220.0140.00716.63
7.4.210.0000.01416.58
7.4.200.0050.00216.63
7.4.160.0060.01016.55
7.4.150.0120.00617.40
7.4.140.0130.00517.86
7.4.130.0070.01216.66
7.4.120.0060.01316.54
7.4.110.0180.00016.59
7.4.100.0130.00316.54
7.4.90.0080.00816.49
7.4.80.0100.00719.39
7.4.70.0090.00916.29
7.4.60.0120.01016.39
7.4.50.0030.00316.28
7.4.40.0090.00616.24
7.4.30.0140.00416.43
7.4.00.0060.00914.72
7.3.330.0050.00313.10
7.3.320.0060.00013.20
7.3.310.0000.00616.21
7.3.300.0000.00716.18
7.3.290.0110.00416.21
7.3.280.0080.00816.22
7.3.270.0160.00017.40
7.3.260.0120.00916.45
7.3.250.0070.01116.26
7.3.240.0110.01116.26
7.3.230.0100.00616.41
7.3.210.0110.00516.34
7.3.200.0190.00319.39
7.3.190.0100.00716.23
7.3.180.0120.00416.48
7.3.170.0030.01316.52
7.3.160.0100.00616.19
7.3.120.0070.00714.63
7.3.110.0100.00614.57
7.3.100.0070.00714.25
7.3.90.0000.01314.61
7.3.80.0030.01014.68
7.3.70.0030.01014.82
7.3.60.0060.01214.63
7.3.50.0080.00514.43
7.3.40.0100.00314.91
7.3.30.0040.00714.82
7.3.20.0080.00816.30
7.3.10.0030.01216.61
7.3.00.0090.00616.41
7.2.330.0100.00716.75
7.2.320.0030.01316.30
7.2.310.0040.01416.84
7.2.300.0100.01016.48
7.2.290.0070.01116.83
7.2.240.0000.01814.77
7.2.230.0120.00315.08
7.2.220.0060.00915.21
7.2.210.0030.01015.15
7.2.200.0100.00015.18
7.2.190.0000.01814.89
7.2.180.0030.01314.96
7.2.170.0070.01015.00
7.2.160.0070.00714.66
7.2.150.0030.01416.84
7.2.140.0120.00316.71
7.2.130.0070.00716.89
7.2.120.0040.01116.71
7.2.110.0060.01516.73
7.2.100.0000.01916.64
7.2.90.0030.01416.58
7.2.80.0040.01616.72
7.2.70.0070.01316.68
7.2.60.0090.00316.88
7.2.50.0000.01116.73
7.2.40.0060.00616.88
7.2.30.0090.00617.10
7.2.20.0060.01216.88
7.2.10.0150.00016.86
7.2.00.0070.01017.85
7.1.330.0030.01415.47
7.1.320.0070.00715.83
7.1.310.0030.00816.02
7.1.300.0030.01015.44
7.1.290.0060.00615.76
7.1.280.0040.00815.83
7.1.270.0100.00715.53
7.1.260.0110.00015.98
7.1.250.0070.00415.84
7.1.100.0040.00417.94
7.1.70.0000.01016.86
7.1.60.0070.01419.32
7.1.50.0040.01416.81
7.1.00.0070.07322.44
7.0.200.0000.00816.76
7.0.140.0000.08021.92
7.0.60.0130.06020.00
7.0.50.0070.08017.97
7.0.40.0170.08020.11
7.0.30.0470.07020.32
7.0.20.0330.06720.10
7.0.10.0130.08020.09
7.0.00.0170.06720.05
5.6.210.0230.06320.73
5.6.200.0070.08318.27
5.6.190.0130.08020.57
5.6.180.0230.04320.57
5.6.170.0270.04020.49
5.6.160.0170.04320.52
5.6.150.0030.08718.18
5.6.140.0130.07718.14
5.6.130.0070.08018.25
5.6.120.0000.09320.79
5.6.110.0170.05321.14
5.6.100.0170.07721.02
5.6.90.0070.07721.11
5.6.80.0130.07020.38
5.5.350.0130.08720.46
5.5.340.0000.04317.96
5.5.330.0130.04720.13
5.5.320.0330.06320.20
5.5.310.0270.08020.30
5.5.300.0100.08017.95
5.5.290.0030.05717.99
5.5.280.0170.07720.67
5.5.270.0000.04720.86
5.5.260.0030.08720.65
5.5.250.0170.06320.58
5.5.240.0170.07020.28
5.4.450.0170.02719.55
5.4.440.0800.05319.46
5.4.430.0830.05319.59
5.4.420.0630.00019.37
5.4.410.0600.00019.28
5.4.400.0630.00019.25
5.4.390.0600.00019.04
5.4.380.0670.00019.16
5.4.370.0600.00019.16
5.4.360.0600.00018.98
5.4.350.0630.00019.21
5.4.340.0600.00019.07
5.4.320.0050.04012.50
5.4.310.0090.03512.49
5.4.300.0050.03812.50
5.4.290.0040.04012.49
5.4.280.0070.03412.40
5.4.270.0030.03912.40
5.4.260.0080.03512.39
5.4.250.0030.04012.39
5.4.240.0070.03912.40
5.4.230.0060.04012.39
5.4.220.0060.03712.39
5.4.210.0080.03312.39
5.4.200.0080.03712.39
5.4.190.0040.03812.38
5.4.180.0080.03412.38
5.4.170.0070.03512.39
5.4.160.0050.04012.39
5.4.150.0070.03612.38
5.4.140.0090.03712.07
5.4.130.0040.03712.06
5.4.120.0040.03712.02
5.4.110.0040.03712.02
5.4.100.0070.03412.01
5.4.90.0070.03512.01
5.4.80.0050.03712.01
5.4.70.0060.03512.00
5.4.60.0050.03612.00
5.4.50.0080.03312.00
5.4.40.0070.03311.99
5.4.30.0060.03512.00
5.4.20.0050.03611.99
5.4.10.0040.03612.00
5.4.00.0090.04511.48
5.3.290.0080.03912.80
5.3.280.0070.03612.71
5.3.270.0090.03812.72
5.3.260.0050.04112.72
5.3.250.0040.04012.71
5.3.240.0070.03812.72
5.3.230.0080.04412.71
5.3.220.0050.03812.68
5.3.210.0050.04012.68
5.3.200.0060.04312.68
5.3.190.0090.03912.67
5.3.180.0090.03512.67
5.3.170.0080.03512.67
5.3.160.0090.03312.67
5.3.150.0040.04112.67
5.3.140.0060.03812.66
5.3.130.0070.03912.66
5.3.120.0050.04012.65
5.3.110.0070.04012.66
5.3.100.0070.03912.12
5.3.90.0080.03612.10
5.3.80.0040.03812.09
5.3.70.0050.03712.09
5.3.60.0070.03512.07
5.3.50.0060.03512.03
5.3.40.0070.03612.03
5.3.30.0050.03911.98
5.3.20.0060.04011.77
5.3.10.0060.03711.73
5.3.00.0060.03611.72
5.2.170.0070.0299.22
5.2.160.0030.0309.22
5.2.150.0040.0379.23
5.2.140.0040.0319.22
5.2.130.0090.0259.18
5.2.120.0040.0289.18
5.2.110.0080.0329.19
5.2.100.0070.0289.18
5.2.90.0040.0299.18
5.2.80.0050.0309.18
5.2.70.0030.0319.18
5.2.60.0090.0259.13
5.2.50.0040.0309.10
5.2.40.0070.0269.07
5.2.30.0050.0299.05
5.2.20.0040.0299.04
5.2.10.0010.0328.94
5.2.00.0020.0318.81
5.1.60.0080.0218.09
5.1.50.0020.0268.09
5.1.40.0020.0268.07
5.1.30.0060.0248.41
5.1.20.0050.0258.44
5.1.10.0050.0258.17
5.1.00.0050.0258.17
5.0.50.0050.0196.64
5.0.40.0070.0166.50
5.0.30.0040.0316.32
5.0.20.0030.0196.29
5.0.10.0030.0206.25
5.0.00.0040.0306.25
4.4.90.0050.0154.78
4.4.80.0010.0164.75
4.4.70.0040.0144.75
4.4.60.0040.0144.75
4.4.50.0020.0214.77
4.4.40.0050.0234.70
4.4.30.0040.0164.75
4.4.20.0020.0164.84
4.4.10.0030.0164.85
4.4.00.0040.0234.75
4.3.110.0000.0194.67
4.3.100.0010.0164.67
4.3.90.0040.0134.64
4.3.80.0050.0224.58
4.3.70.0020.0164.63
4.3.60.0010.0164.63
4.3.50.0010.0174.63
4.3.40.0060.0284.54
4.3.30.0030.0213.30
4.3.20.0030.0183.28
4.3.10.0030.0153.24
4.3.00.0070.0139.38

preferences:
54.33 ms | 401 KiB | 5 Q