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'); 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.0090.00918.14
8.3.50.0160.00821.88
8.3.40.0110.00418.46
8.3.30.0110.00419.11
8.3.20.0040.00420.30
8.3.10.0050.00320.46
8.3.00.0080.00017.38
8.2.180.0090.00916.50
8.2.170.0140.00622.96
8.2.160.0070.00720.43
8.2.150.0110.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.98
8.2.110.0060.00320.51
8.2.100.0110.00017.91
8.2.90.0030.00519.28
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0050.00317.55
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0050.00218.01
8.2.20.0040.00417.57
8.2.10.0040.00417.96
8.2.00.0020.00517.60
8.1.280.0060.00925.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00023.96
8.1.230.0040.00719.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00817.00
8.1.180.0000.00718.10
8.1.170.0000.00818.46
8.1.160.0040.00422.00
8.1.150.0040.00418.83
8.1.140.0030.00317.26
8.1.130.0000.00817.83
8.1.120.0070.00017.43
8.1.110.0030.00517.43
8.1.100.0070.00017.37
8.1.90.0000.00717.30
8.1.80.0000.00717.39
8.1.70.0050.00217.35
8.1.60.0000.00817.44
8.1.50.0040.00417.38
8.1.40.0030.00517.43
8.1.30.0060.00317.55
8.1.20.0070.00017.53
8.1.10.0020.00517.47
8.1.00.0080.00017.48
8.0.300.0030.00518.77
8.0.290.0000.00716.63
8.0.280.0070.00018.37
8.0.270.0030.00317.14
8.0.260.0030.00317.19
8.0.250.0030.00316.88
8.0.240.0070.00016.78
8.0.230.0070.00016.84
8.0.220.0030.00316.71
8.0.210.0040.00416.82
8.0.200.0040.00416.72
8.0.190.0040.00416.81
8.0.180.0000.00716.73
8.0.170.0040.00416.82
8.0.160.0070.00016.71
8.0.150.0040.00416.80
8.0.140.0000.00816.70
8.0.130.0000.00513.29
8.0.120.0040.00416.75
8.0.110.0040.00416.76
8.0.100.0070.00016.85
8.0.90.0000.00716.69
8.0.80.0110.01116.77
8.0.70.0040.00416.82
8.0.60.0000.00716.60
8.0.50.0040.00416.79
8.0.30.0100.00817.04
8.0.20.0160.00417.40
8.0.10.0040.00416.76
8.0.00.0100.00716.77
7.4.330.0000.00515.00
7.4.320.0000.00616.54
7.4.300.0020.00516.55
7.4.290.0000.00616.57
7.4.280.0070.00016.45
7.4.270.0070.00016.42
7.4.260.0030.00316.37
7.4.250.0000.00716.34
7.4.240.0050.00216.55
7.4.230.0020.00516.24
7.4.220.0060.01216.44
7.4.210.0060.00916.55
7.4.200.0000.00716.62
7.4.160.0110.00416.13
7.4.150.0130.00617.40
7.4.140.0130.00517.86
7.4.130.0070.00916.32
7.4.120.0110.00516.29
7.4.110.0070.01116.34
7.4.100.0080.00916.45
7.4.90.0110.00616.39
7.4.80.0120.00619.39
7.4.70.0090.00916.35
7.4.60.0070.01116.43
7.4.50.0000.00916.46
7.4.40.0070.01116.32
7.4.30.0040.01316.42
7.4.00.0060.00914.60
7.3.330.0070.00013.17
7.3.320.0060.00013.13
7.3.310.0000.00616.20
7.3.300.0030.00316.13
7.3.290.0000.01516.13
7.3.280.0080.00816.17
7.3.270.0140.00417.40
7.3.260.0030.01416.20
7.3.250.0100.00816.32
7.3.240.0080.00816.18
7.3.230.0120.00616.39
7.3.210.0130.00316.21
7.3.200.0170.00619.39
7.3.190.0120.00616.17
7.3.180.0130.00316.16
7.3.170.0100.00916.27
7.3.160.0060.00916.18
7.2.330.0090.00916.23
7.2.320.0080.01216.41
7.2.310.0080.00816.66
7.2.300.0060.01616.49
7.2.290.0040.01316.63
7.2.00.0000.01219.37
7.1.200.0030.01015.57
7.1.100.0040.01217.88
7.1.70.0000.01117.24
7.1.60.0100.01319.32
7.1.50.0040.00816.81
7.1.00.0030.07722.27
7.0.200.0060.00316.81
7.0.140.0030.07322.00
7.0.110.0130.04320.00
7.0.100.0170.04020.08
7.0.90.0030.06020.07
7.0.80.0270.07020.07
7.0.70.0030.06020.08
7.0.60.0170.07020.04
7.0.50.0100.07319.86
7.0.40.0070.07019.75
7.0.30.0100.07319.87
7.0.20.0030.04019.70
7.0.10.0030.07719.73
7.0.00.0070.08019.68
5.6.280.0070.07021.08
5.6.260.0100.03320.60
5.6.250.0030.04020.67
5.6.240.0130.03020.55
5.6.230.0130.07020.62
5.6.220.0070.08020.54
5.6.210.0100.06720.68
5.6.200.0000.05020.63
5.6.190.0070.05020.65
5.6.180.0070.08020.63
5.6.170.0070.08320.58
5.6.160.0100.07320.71
5.6.150.0100.06720.63
5.6.140.0100.07720.65
5.6.130.0070.07320.55
5.6.120.0030.08320.57
5.6.110.0170.06720.61
5.6.100.0100.08020.55
5.6.90.0030.08720.56
5.6.80.0130.03720.09
5.6.70.0100.06320.02
5.6.60.0070.07720.06
5.6.50.0000.07320.07
5.6.40.0000.04719.96
5.6.30.0100.04019.91
5.6.20.0030.08719.93
5.6.10.0070.07720.05
5.6.00.0070.04320.00
5.5.380.0030.05717.69
5.5.370.0070.04017.68
5.5.360.0070.03317.62
5.5.350.0200.03717.26
5.5.340.0100.06717.93
5.5.330.0000.04318.22
5.5.320.0030.07718.14
5.5.310.0030.04018.09
5.5.300.0070.07718.09
5.5.290.0070.07018.13
5.5.280.0070.07717.95
5.5.270.0100.08017.82
5.5.260.0130.07318.22
5.5.250.0030.05317.74
5.5.240.0030.08017.48
5.5.230.0070.03317.63
5.5.220.0070.03017.61
5.5.210.0100.04317.50
5.5.200.0070.03717.48
5.5.190.0070.06317.53
5.5.180.0070.07317.30
5.5.160.0030.05317.41
5.5.150.0030.04317.30
5.5.140.0130.03017.30
5.5.130.0070.05317.26
5.5.120.0070.06317.43
5.5.110.0070.06317.47
5.5.100.0070.03317.36
5.5.90.0030.07317.20
5.5.80.0000.06017.20
5.5.70.0100.07717.32
5.5.60.0100.06717.34
5.5.50.0030.08717.17
5.5.40.0030.06317.15
5.5.30.0200.05017.33
5.5.20.0030.03717.20
5.5.10.0030.04317.33
5.5.00.0000.07717.46
5.4.450.0130.07319.32
5.4.440.0070.07319.36
5.4.430.0070.07019.35
5.4.420.0030.08019.49
5.4.410.0000.05319.29
5.4.400.0070.06319.34
5.4.390.0170.06719.00
5.4.380.0100.07319.32
5.4.370.0030.07319.21
5.4.360.0130.07719.02
5.4.350.0030.03719.00
5.4.340.0070.06319.17
5.4.320.0030.03719.15
5.4.310.0030.06718.98
5.4.300.0030.03719.32
5.4.290.0100.03718.95
5.4.280.0030.03719.29
5.4.270.0200.03319.16
5.4.260.0030.04019.09
5.4.250.0030.03718.94
5.4.240.0070.08319.14
5.4.230.0100.07019.15
5.4.220.0030.04018.99
5.4.210.0100.07318.99
5.4.200.0030.06318.99
5.4.190.0030.07719.31
5.4.180.0000.08018.97
5.4.170.0130.04018.99
5.4.160.0170.06319.16
5.4.150.0030.07019.01
5.4.140.0130.06716.35
5.4.130.0030.03716.29
5.4.120.0170.05316.35
5.4.110.0030.03716.32
5.4.100.0100.05316.57
5.4.90.0030.07316.71
5.4.80.0070.03016.63
5.4.70.0030.03316.30
5.4.60.0100.04016.47
5.4.50.0000.04016.34
5.4.40.0100.03016.34
5.4.30.0070.03016.37
5.4.20.0070.03716.47
5.4.10.0070.03316.21
5.4.00.0070.03715.80
5.3.290.0030.08714.52
5.3.280.0030.05714.57
5.3.270.0030.07014.76
5.3.260.0000.04014.46
5.3.250.0130.06714.69
5.3.240.0100.06714.57
5.3.230.0100.03014.59
5.3.220.0070.07314.42
5.3.210.0030.07314.57
5.3.200.0170.05714.70
5.3.190.0030.03714.45
5.3.180.0030.03714.59
5.3.170.0030.07314.56
5.3.160.0030.04014.53
5.3.150.0070.03014.56
5.3.140.0000.04014.41
5.3.130.0070.03014.69
5.3.120.0000.04014.50
5.3.110.0070.07714.64
5.3.100.0000.04014.08
5.3.90.0030.03714.15
5.3.80.0030.06314.12
5.3.70.0030.03714.02
5.3.60.0030.03714.08
5.3.50.0030.03714.11
5.3.40.0030.03013.93
5.3.30.0000.03314.05
5.3.20.0030.03713.70
5.3.10.0000.03713.65
5.3.00.0000.03713.65
5.2.170.0030.03711.91
5.2.160.0000.03711.91
5.2.150.0070.02711.91
5.2.140.0130.04311.91
5.2.130.0030.02711.91
5.2.120.0030.02711.91
5.2.110.0030.02311.91
5.2.100.0030.02711.91
5.2.90.0000.03311.91
5.2.80.0030.03711.91
5.2.70.0000.03711.91
5.2.60.0070.05011.91
5.2.50.0000.03311.91
5.2.40.0070.05011.91
5.2.30.0100.02011.91
5.2.20.0000.03011.91
5.2.10.0000.03011.91
5.2.00.0030.02711.91
5.1.60.0070.04711.91
5.1.50.0000.05711.91
5.1.40.0030.03311.91
5.1.30.0070.02711.91
5.1.20.0070.04011.91
5.1.10.0100.03711.91
5.1.00.0030.05011.91
5.0.50.0000.02711.91
5.0.40.0000.04711.91
5.0.30.0000.06711.91
5.0.20.0000.03311.91
5.0.10.0000.03011.91
5.0.00.0000.03311.91
4.4.90.0070.01011.91
4.4.80.0030.03011.91
4.4.70.0000.02311.91
4.4.60.0000.02311.91
4.4.50.0000.01711.91
4.4.40.0070.04311.91
4.4.30.0000.03011.91
4.4.20.0030.02711.91
4.4.10.0000.03311.91
4.4.00.0030.02711.91
4.3.110.0030.01311.91
4.3.100.0000.03711.91
4.3.90.0000.02711.91
4.3.80.0030.05011.91
4.3.70.0030.03311.91
4.3.60.0000.03011.91
4.3.50.0030.03011.91
4.3.40.0000.04311.91
4.3.30.0000.02711.91
4.3.20.0000.02311.91
4.3.10.0000.02711.91
4.3.00.0000.03011.91

preferences:
32.44 ms | 401 KiB | 5 Q