3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Name\Space; class Foo { public static function bar() { } } $reflection = new \ReflectionMethod('Name\\Space\\Foo', 'bar'); $closure = $reflection->getClosure(null); $reflection2 = new \ReflectionFunction($closure); var_dump($closure, $reflection, \Reflection::export($reflection2));

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.00916.50
8.3.50.0100.00922.83
8.3.40.0040.01118.79
8.3.30.0070.00719.12
8.3.20.0080.00020.30
8.3.10.0000.00823.36
8.3.00.0090.00019.13
8.2.180.0090.00916.63
8.2.170.0110.00422.96
8.2.160.0070.00720.43
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00020.77
8.2.110.0060.00322.20
8.2.100.0080.00317.84
8.2.90.0050.00317.75
8.2.80.0040.00417.97
8.2.70.0080.00017.93
8.2.60.0080.00018.03
8.2.50.0060.00318.10
8.2.40.0000.00819.88
8.2.30.0000.00717.89
8.2.20.0000.00717.71
8.2.10.0000.00718.00
8.2.00.0000.00717.70
8.1.280.0070.00725.92
8.1.270.0090.00023.92
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00024.02
8.1.230.0080.00417.66
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0070.00317.23
8.1.190.0080.00017.00
8.1.180.0060.00318.10
8.1.170.0040.00418.58
8.1.160.0080.00021.88
8.1.150.0040.00418.75
8.1.140.0050.00317.40
8.1.130.0060.00319.09
8.1.120.0040.00417.41
8.1.110.0040.00417.32
8.1.100.0000.00717.26
8.1.90.0040.00417.36
8.1.80.0070.00017.45
8.1.70.0030.00617.37
8.1.60.0030.00517.59
8.1.50.0000.00817.43
8.1.40.0040.00417.55
8.1.30.0040.00417.67
8.1.20.0060.00317.56
8.1.10.0030.00517.48
8.1.00.0030.00617.49
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.30
8.0.270.0000.00717.20
8.0.260.0050.00316.83
8.0.250.0030.00316.89
8.0.240.0040.00416.99
8.0.230.0000.00716.94
8.0.220.0030.00316.84
8.0.210.0000.00616.81
8.0.200.0030.00316.96
8.0.190.0080.00016.99
8.0.180.0070.00016.83
8.0.170.0000.00716.97
8.0.160.0030.00416.93
8.0.150.0000.00716.89
8.0.140.0050.00316.87
8.0.130.0000.00613.35
8.0.120.0030.00516.80
8.0.110.0000.00816.80
8.0.100.0030.00616.86
8.0.90.0000.00716.80
8.0.80.0110.00716.79
8.0.70.0000.00816.79
8.0.60.0000.00716.79
8.0.50.0040.00316.90
8.0.30.0130.01017.00
8.0.20.0140.00817.41
8.0.10.0040.00416.94
8.0.00.0110.01016.72
7.4.330.0030.00315.03
7.4.320.0060.00016.60
7.4.300.0030.00316.47
7.4.290.0030.00316.50
7.4.280.0030.00316.46
7.4.270.0070.00016.56
7.4.260.0060.00316.30
7.4.250.0070.00016.34
7.4.240.0020.00416.43
7.4.230.0040.00416.25
7.4.220.0060.01116.49
7.4.210.0030.01516.57
7.4.200.0040.00416.57
7.4.160.0080.00816.45
7.4.150.0100.00917.40
7.4.140.0090.00917.86
7.4.130.0050.01216.36
7.4.120.0140.00616.50
7.4.110.0120.00916.41
7.4.100.0110.00616.40
7.4.90.0080.01216.36
7.4.80.0120.00419.39
7.4.70.0150.00416.46
7.4.60.0070.01016.52
7.4.50.0020.00216.32
7.4.40.0130.00316.59
7.4.30.0120.00316.32
7.4.00.0080.00814.90
7.3.330.0050.00013.10
7.3.320.0000.00513.03
7.3.310.0000.00716.20
7.3.300.0000.00615.95
7.3.290.0070.00716.20
7.3.280.0090.00716.16
7.3.270.0120.00917.40
7.3.260.0040.01916.16
7.3.250.0090.00916.33
7.3.240.0100.01016.18
7.3.230.0060.01216.39
7.3.210.0180.00316.20
7.3.200.0060.01219.39
7.3.190.0070.01016.52
7.3.180.0060.00916.43
7.3.170.0070.00716.27
7.3.160.0040.01116.22
7.3.120.0030.01214.55
7.3.110.0060.00914.63
7.3.100.0070.00714.68
7.3.90.0030.01314.41
7.3.80.0120.00014.60
7.3.70.0000.01514.68
7.3.60.0000.01114.42
7.3.50.0080.00314.76
7.3.40.0060.00914.54
7.3.30.0080.00414.58
7.3.20.0070.01016.62
7.3.10.0060.00616.37
7.3.00.0090.00316.45
7.2.330.0140.00316.68
7.2.320.0100.00716.27
7.2.310.0110.00716.59
7.2.300.0140.00316.51
7.2.290.0100.00716.51
7.2.250.0030.01814.84
7.2.240.0060.00915.11
7.2.230.0030.01314.75
7.2.220.0100.00614.98
7.2.210.0070.01015.22
7.2.200.0090.00614.98
7.2.190.0060.00614.70
7.2.180.0050.00514.96
7.2.170.0030.01015.16
7.2.60.0040.00916.41
7.1.330.0120.00015.41
7.1.320.0040.01115.67
7.1.310.0070.01015.68
7.1.300.0090.00615.70
7.1.290.0070.00415.71
7.1.280.0070.00715.54
7.1.270.0070.00715.57
7.1.260.0000.01315.75
7.1.200.0120.00015.71
7.1.70.0040.00416.96
7.1.60.0060.01919.40
7.1.50.0100.01316.94
7.1.00.0030.07722.36
7.0.200.0040.00416.42
7.0.140.0100.06322.10
7.0.60.0070.08719.92
7.0.50.0000.04317.89
7.0.40.0030.05320.08
7.0.30.0130.04720.21
7.0.20.0330.03720.09
7.0.10.0170.07320.21
7.0.00.0170.07320.19
5.6.280.0000.07321.10
5.6.210.0030.04720.57
5.6.200.0070.05018.19
5.6.190.0100.06720.47
5.6.180.0270.07020.62
5.6.170.0330.05720.61
5.6.160.0100.08020.54
5.6.150.0070.08018.27
5.6.140.0100.08018.11
5.6.130.0070.06318.14
5.6.120.0070.07320.98
5.6.110.0100.04020.96
5.6.100.0030.08720.99
5.6.90.0100.04020.97
5.6.80.0070.06320.44
5.5.350.4170.04020.41
5.5.340.0030.07318.05
5.5.330.0070.07320.32
5.5.320.0370.02320.34
5.5.310.0230.08020.32
5.5.300.0030.04017.99
5.5.290.0000.04717.99
5.5.280.0100.05720.80
5.5.270.0030.04720.76
5.5.260.0130.05720.76
5.5.250.0070.08320.61
5.5.240.0170.05020.27
5.4.450.0300.08319.38
5.4.440.0270.05019.54
5.4.430.0330.03719.41
5.4.420.0370.07719.29
5.4.410.0370.04719.30
5.4.400.0400.07019.24
5.4.390.0430.06019.21
5.4.380.0400.04318.95
5.4.370.0330.04319.21
5.4.360.0300.07019.22
5.4.350.0400.07018.87
5.4.340.0270.04018.99
5.4.320.0270.05319.12
5.4.310.0400.07018.84
5.4.300.0300.03719.30
5.4.290.0300.04019.20
5.4.280.0270.04019.09
5.4.270.0370.04019.19
5.4.260.0300.08019.00
5.4.250.0330.04319.19
5.4.240.0400.05718.96
5.4.230.0400.03718.96
5.4.220.0370.03319.19
5.4.210.0430.06719.05
5.4.200.0300.04019.23
5.4.190.0370.04319.18
5.4.180.0370.04719.01
5.4.170.0400.04019.05
5.4.160.0370.05318.92
5.4.150.0370.07319.24
5.4.140.0270.04316.65
5.4.130.0430.05716.49
5.4.120.0330.04316.34
5.4.110.0430.06316.27
5.4.100.0330.04016.36
5.4.90.0330.05016.28
5.4.80.0370.04016.43
5.4.70.0400.06016.55
5.4.60.0300.04016.23
5.4.50.0270.03716.51
5.4.40.0400.04316.39
5.4.30.0300.06016.25
5.4.20.0270.05016.38
5.4.10.0430.05716.33
5.4.00.0400.06015.77
5.3.290.0430.02714.72
5.3.280.0430.06314.56
5.3.270.0270.04014.82
5.3.260.0270.04014.61
5.3.250.0400.06014.71
5.3.240.0430.05314.58
5.3.230.0400.04014.61
5.3.220.0330.03314.48
5.3.210.0330.07714.65
5.3.200.0330.07014.57
5.3.190.0370.06714.49
5.3.180.0330.04014.57
5.3.170.0430.06714.64
5.3.160.0370.03714.64
5.3.150.0330.07014.64
5.3.140.0330.04314.45
5.3.130.0330.05014.45
5.3.120.0470.06014.45
5.3.110.0430.06014.66
5.3.100.0370.04713.95
5.3.90.0470.05714.00
5.3.80.0330.04714.00
5.3.70.0470.06013.94
5.3.60.0270.04313.92
5.3.50.0370.06313.87
5.3.40.0370.06013.84
5.3.30.0400.06713.91
5.3.20.0370.06013.84
5.3.10.0230.04313.58
5.3.00.0370.06313.70
5.2.170.0270.03712.31
5.2.160.0300.04712.31
5.2.150.0370.04012.31
5.2.140.0300.03312.31
5.2.130.0270.04012.31
5.2.120.0330.05312.31
5.2.110.0330.05312.31
5.2.100.0270.03312.31
5.2.90.0330.05312.31
5.2.80.0300.04312.31
5.2.70.0230.03712.31
5.2.60.0230.05712.31
5.2.50.0230.03012.31
5.2.40.0270.03012.31
5.2.30.0270.02312.31
5.2.20.0200.05312.31
5.2.10.0270.02712.31
5.2.00.0270.05712.31
5.1.60.0200.02312.31
5.1.50.0230.04712.31
5.1.40.0230.02012.31
5.1.30.0370.02712.31
5.1.20.0200.02712.31
5.1.10.0200.02312.31
5.1.00.0170.02712.31
5.0.50.0100.02712.31
5.0.40.0130.02712.31
5.0.30.0100.06712.31
5.0.20.0130.02712.31
5.0.10.0130.02712.31
5.0.00.0100.03312.31
4.4.90.0130.03712.31
4.4.80.0130.01712.31
4.4.70.0170.01712.31
4.4.60.0100.02712.31
4.4.50.0130.02312.31
4.4.40.0170.03012.31
4.4.30.0130.01712.31
4.4.20.0270.01312.31
4.4.10.0130.01312.31
4.4.00.0170.05012.31
4.3.110.0100.02712.31
4.3.100.0170.02012.31
4.3.90.0100.03712.31
4.3.80.0230.02312.31
4.3.70.0130.03012.31
4.3.60.0130.03012.31
4.3.50.0230.02712.31
4.3.40.0130.02312.31
4.3.30.0100.02712.31
4.3.20.0100.03012.31
4.3.10.0070.03012.31
4.3.00.0100.02312.31

preferences:
63.66 ms | 401 KiB | 5 Q