3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { private function bar($a = self::class) {} } $refMethod = new \ReflectionMethod('Foo', 'bar'); echo "Exported: ", $refMethod;

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.1.130.0040.00417.55
8.1.120.0070.00017.30
8.1.110.0000.00717.43
8.1.100.0040.00417.36
8.1.90.0040.00417.31
8.1.80.0050.00217.41
8.1.70.0000.00717.27
8.1.60.0040.00417.55
8.1.50.0000.00817.44
8.1.40.0040.00417.45
8.1.30.0040.00417.59
8.1.20.0030.00617.46
8.1.10.0040.00417.60
8.1.00.0000.00817.50
8.0.260.0060.00017.21
8.0.250.0000.00717.03
8.0.240.0070.00016.94
8.0.230.0070.00016.88
8.0.220.0030.00316.83
8.0.210.0040.00416.80
8.0.200.0020.00516.95
8.0.190.0030.00716.80
8.0.180.0040.00416.84
8.0.170.0000.00816.91
8.0.160.0000.00716.83
8.0.150.0040.00416.78
8.0.140.0030.00316.69
8.0.130.0000.00613.28
8.0.120.0000.00816.80
8.0.110.0040.00416.77
8.0.100.0000.00716.61
8.0.90.0070.00016.85
8.0.80.0030.01216.71
8.0.70.0080.00016.75
8.0.60.0080.00016.70
8.0.50.0000.00716.85
8.0.30.0090.01117.13
8.0.20.0060.01217.40
8.0.10.0040.00417.01
8.0.00.0090.00916.70
7.4.330.0000.00516.85
7.4.320.0060.00016.42
7.4.300.0000.00716.43
7.4.290.0050.00216.36
7.4.280.0060.00316.41
7.4.270.0040.00416.43
7.4.260.0000.00716.48
7.4.250.0040.00416.52
7.4.240.0000.00916.59
7.4.230.0030.00316.47
7.4.220.0160.00316.39
7.4.210.0090.00616.39
7.4.200.0000.00716.54
7.4.160.0090.00616.39
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0110.00916.45
7.4.120.0120.00816.42
7.4.110.0070.01016.55
7.4.100.0060.01216.49
7.4.90.0070.01016.42
7.4.80.0030.01319.39
7.4.70.0060.01016.30
7.4.60.0090.00616.48
7.4.50.0080.00516.12
7.4.40.0110.01116.69
7.4.30.0070.01116.59
7.4.00.0090.00715.05
7.3.330.0030.00313.20
7.3.320.0050.00013.23
7.3.310.0000.00716.23
7.3.300.0030.00316.16
7.3.290.0070.00716.23
7.3.280.0090.01016.25
7.3.270.0140.00417.40
7.3.260.0070.01016.46
7.3.250.0060.01216.41
7.3.240.0070.01016.44
7.3.230.0110.01116.39
7.3.210.0150.00416.09
7.3.200.0070.01016.39
7.3.190.0170.00416.20
7.3.180.0130.00316.16
7.3.170.0110.00816.40
7.3.160.0060.01716.25
7.3.120.0100.01014.66
7.3.110.0070.01014.68
7.3.100.0000.00915.00
7.3.90.0000.01014.86
7.3.80.0040.00714.74
7.3.70.0100.00314.64
7.3.60.0040.01114.94
7.3.50.0050.00514.72
7.3.40.0030.01414.77
7.3.30.0110.00014.77
7.3.20.0040.01116.66
7.3.10.0130.00316.42
7.3.00.0030.00716.57
7.2.330.0070.01016.66
7.2.320.0040.01316.36
7.2.310.0030.01516.64
7.2.300.0070.01416.43
7.2.290.0090.01316.48
7.2.250.0030.01314.80
7.2.240.0100.01014.85
7.2.230.0060.00614.94
7.2.220.0040.00714.91
7.2.210.0000.00914.98
7.2.200.0040.00715.11
7.2.190.0030.01014.90
7.2.180.0030.01215.11
7.2.170.0060.00614.89
7.2.60.0030.01016.51
7.2.00.0060.00618.50
7.1.330.0080.00815.59
7.1.320.0060.00615.69
7.1.310.0070.00315.56
7.1.300.0060.00615.71
7.1.290.0040.00815.69
7.1.280.0100.00015.85
7.1.270.0030.01015.67
7.1.260.0090.00915.89
7.1.200.0070.00715.61
7.1.100.0000.01118.16
7.1.70.0000.00716.90
7.1.60.0030.00817.15
7.1.50.0070.00316.86
7.1.40.0070.00716.43
7.1.30.0000.01216.43
7.1.20.0110.00016.78
7.1.10.0030.00516.35
7.1.00.0030.00516.56
7.0.200.0040.00416.76
7.0.190.0040.00416.73
7.0.180.0120.00016.20
7.0.170.0050.00516.35
7.0.160.0060.00316.13
7.0.150.0070.00316.11
7.0.140.0050.00516.45
7.0.130.0070.00716.65
7.0.120.0040.00816.48
7.0.110.0000.01416.43
7.0.100.0040.00416.23
7.0.90.0030.01216.32
7.0.80.0000.01116.38
7.0.70.0000.00816.51
7.0.60.0030.00616.34
7.0.50.0020.00516.35
7.0.40.0030.00815.36
7.0.30.0060.00615.36
7.0.20.0040.00415.36
7.0.10.0040.00415.36
7.0.00.0050.00315.36
5.6.300.0100.03320.79
5.6.290.0070.04720.67
5.6.280.0100.03520.94
5.6.270.0070.04821.01
5.6.260.0030.03920.98
5.6.250.0000.04720.86
5.6.240.0030.09120.83
5.6.230.0030.04420.87
5.6.220.0000.04521.03
5.6.210.0070.04120.57
5.6.200.0000.04920.83
5.6.190.0100.03620.97
5.6.180.0000.04720.75
5.6.170.0030.04420.86
5.6.160.0000.04720.74
5.6.150.0000.04720.93
5.6.140.0030.06020.92
5.6.130.0030.04021.03
5.6.120.0000.04321.04
5.6.110.0060.05521.01
5.6.100.0000.05521.02
5.6.90.0040.03920.84
5.6.80.0030.04020.22
5.6.70.0100.05820.30
5.6.60.0130.07420.11
5.6.50.0030.04320.21
5.6.40.0030.03920.29
5.6.30.0030.03920.18
5.6.20.0070.04720.28
5.6.10.0100.03220.38
5.6.00.0070.03320.33
5.5.380.0070.04417.53
5.5.370.0210.03517.38
5.5.360.0000.04317.51
5.5.350.0000.04317.56
5.5.340.0030.04217.95
5.5.330.0070.05418.05
5.5.320.0000.04217.65
5.5.310.0000.04118.07
5.5.300.0030.04017.66
5.5.290.0000.04617.62
5.5.280.0030.04618.07
5.5.270.0030.04017.68
5.5.260.0030.03918.05
5.5.250.0000.04417.86
5.5.240.0030.03817.44
5.5.230.0000.04117.35
5.5.220.0030.04517.47
5.5.210.0070.04017.48
5.5.200.0070.04317.54
5.5.190.0000.04217.09
5.5.180.0000.06717.09
5.5.160.0000.05117.05
5.5.150.0160.03917.50
5.5.140.0030.04217.35
5.5.130.0030.04217.48
5.5.120.0040.04617.53
5.5.110.0030.03817.48
5.5.100.0030.04017.35
5.5.90.0000.04417.43
5.5.80.0040.03917.38
5.5.70.0030.04617.34
5.5.60.0000.04117.28
5.5.50.0040.03617.24
5.5.40.0030.03617.37
5.5.30.0060.03216.98
5.5.20.0000.08116.95
5.5.10.0000.04516.98
5.5.00.0030.03917.26
5.4.450.0030.04219.41
5.4.440.0100.05219.22
5.4.430.0030.04119.38
5.4.420.0000.04719.36
5.4.410.0000.05419.43
5.4.400.0000.04019.06
5.4.390.0000.04219.14
5.4.380.0070.03919.23
5.4.370.0100.03519.07
5.4.360.0030.03719.07
5.4.350.0030.03719.16
5.4.340.0000.05619.07
5.4.320.0030.08519.08
5.4.310.0030.04319.16
5.4.300.0070.04819.16
5.4.290.0070.07418.92
5.4.280.0070.07419.11
5.4.270.0070.03819.07
5.4.260.0030.03719.23
5.4.250.0070.03718.94
5.4.240.0030.05018.97
5.4.230.0030.04018.99
5.4.220.0000.04019.13
5.4.210.0030.03919.11
5.4.200.0000.04619.20
5.4.190.0030.06619.06
5.4.180.0030.05419.05
5.4.170.0000.04119.10
5.4.160.0070.03819.04
5.4.150.0030.05118.90
5.4.140.0030.03516.69
5.4.130.0030.03716.45
5.4.120.0070.03316.75
5.4.110.0030.03716.63
5.4.100.0000.03716.54
5.4.90.0000.03816.63
5.4.80.0030.03716.62
5.4.70.0030.03316.73
5.4.60.0000.03716.72
5.4.50.0000.03716.61
5.4.40.0000.04016.73
5.4.30.0030.03416.68
5.4.20.0030.03516.61
5.4.10.0030.03916.38
5.4.00.0030.03316.22
5.3.290.0000.04015.36
5.3.280.0000.04115.36
5.3.270.0070.03615.36
5.3.260.0000.04615.36
5.3.250.0090.03115.36
5.3.240.0030.05015.36
5.3.230.0000.03815.36
5.3.220.0030.04315.36
5.3.210.0030.04315.36
5.3.200.0000.04315.36
5.3.190.0000.04115.36
5.3.180.0000.04015.36
5.3.170.0000.03815.36
5.3.160.0030.03515.36
5.3.150.0070.03315.36
5.3.140.0070.03115.36
5.3.130.0160.04915.36
5.3.120.0030.03615.36
5.3.110.0070.03315.36
5.3.100.0000.03715.36
5.3.90.0030.03315.36
5.3.80.0000.03715.36
5.3.70.0000.03915.36
5.3.60.0070.03015.36
5.3.50.0000.03615.36
5.3.40.0160.06915.36
5.3.30.0030.03815.36
5.3.20.0070.03015.36
5.3.10.0000.04215.36
5.3.00.0000.04015.36
5.2.170.0000.03015.36
5.2.160.0000.02915.36
5.2.150.0030.04615.36
5.2.140.0030.03315.36
5.2.130.0160.03515.36
5.2.120.0030.03015.36
5.2.110.0000.03115.36
5.2.100.0000.03115.36
5.2.90.0070.02815.36
5.2.80.0000.03115.36
5.2.70.0030.02815.36
5.2.60.0000.03515.36
5.2.50.0000.03015.36
5.2.40.0030.03215.36
5.2.30.0000.03115.36
5.2.20.0000.02915.36
5.2.10.0070.02415.36
5.2.00.0000.02915.36
5.1.60.0000.02615.36
5.1.50.0000.02515.36
5.1.40.0070.02015.36
5.1.30.0100.03015.36
5.1.20.0000.03415.36
5.1.10.0040.02615.36
5.1.00.0000.03215.36
5.0.50.0000.02215.36
5.0.40.0040.02115.36
5.0.30.0070.03015.36
5.0.20.0000.02215.36
5.0.10.0000.02315.36
5.0.00.0070.02615.36
4.4.90.0000.01615.36
4.4.80.0030.01315.36
4.4.70.0000.01715.36
4.4.60.0030.01515.36
4.4.50.0000.01715.36
4.4.40.0000.02615.36
4.4.30.0030.01415.36
4.4.20.0000.01715.36
4.4.10.0000.02215.36
4.4.00.0030.02415.36
4.3.110.0000.01715.36
4.3.100.0000.01815.36
4.3.90.0000.01715.36
4.3.80.0000.02415.36
4.3.70.0000.01715.36
4.3.60.0030.01715.36
4.3.50.0000.01715.36
4.3.40.0060.01915.36
4.3.30.0000.02015.36
4.3.20.0030.01715.36
4.3.10.0070.01715.36
4.3.00.0000.02015.36

preferences:
13.01 ms | 406 KiB | 5 Q