3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N; class Cl {} eval(<<<'EOF' use N\Cl; class U { /** * @return Cl */ public function test() { throw new \Exception(); } } EOF); $u = new \U(); $refl = new \ReflectionMethod($u, 'test'); var_dump($refl->getFileName()); var_dump($refl->getDocComment());

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.5.10.0110.00818.76
8.5.00.0130.00820.02
8.4.150.0020.00014.05
8.4.140.0100.01117.57
8.4.130.0130.00717.58
8.4.120.0110.00822.07
8.4.110.0070.01418.59
8.4.100.0140.00717.70
8.4.90.0150.00617.48
8.4.80.0080.00917.57
8.4.70.0060.00217.55
8.4.60.0070.01417.46
8.4.50.0080.01318.73
8.4.40.0070.00317.62
8.4.30.0070.01122.35
8.4.20.0050.00320.43
8.4.10.0080.00421.89
8.3.280.0120.00818.22
8.3.270.0100.01016.80
8.3.260.0070.00816.62
8.3.250.0050.00418.85
8.3.240.0120.00716.74
8.3.230.0150.00516.64
8.3.220.0080.01117.23
8.3.210.0140.00916.51
8.3.200.0140.00616.39
8.3.190.0120.00616.57
8.3.180.0060.00516.47
8.3.170.0110.00720.72
8.3.160.0040.01416.66
8.3.150.0130.00618.80
8.3.140.0000.00716.62
8.3.130.0050.01116.65
8.3.120.0090.00020.68
8.3.110.0080.00016.34
8.3.100.0070.01018.46
8.3.90.0040.00426.77
8.3.80.0060.00316.75
8.3.70.0120.00316.75
8.3.60.0090.00618.18
8.3.50.0120.00319.86
8.3.40.0120.00320.64
8.3.30.0140.00718.82
8.3.20.0100.01024.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.290.0020.00620.52
8.2.280.0060.00318.43
8.2.270.0130.00618.95
8.2.260.0040.01416.60
8.2.250.0070.00718.41
8.2.240.0060.00318.59
8.2.230.0080.00020.94
8.2.220.0130.00324.06
8.2.210.0070.00026.77
8.2.200.0060.00318.29
8.2.190.0110.00416.63
8.2.180.0040.01125.92
8.2.170.0120.00318.86
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0020.00520.93
8.2.110.0060.00622.30
8.2.100.0090.00317.66
8.2.90.0040.00417.75
8.2.80.0030.00618.69
8.2.70.0070.00317.50
8.2.60.0080.00417.50
8.2.50.0030.00517.98
8.2.40.0050.00319.88
8.2.30.0000.00718.07
8.2.20.0000.00720.44
8.2.10.0050.00218.12
8.2.00.0000.00719.26
8.1.330.0090.00816.77
8.1.320.0120.00516.39
8.1.310.0040.00418.54
8.1.300.0070.00720.06
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0030.00623.90
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0000.01218.98
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0080.00017.35
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0050.00317.62
8.1.160.0000.00818.86
8.1.150.0040.00418.61
8.1.140.0000.00717.45
8.1.130.0000.00718.87
8.1.120.0030.00517.52
8.1.110.0000.00917.45
8.1.100.0050.00317.48
8.1.90.0000.00717.44
8.1.80.0080.00017.36
8.1.70.0080.00917.41
8.1.60.0160.00317.41
8.1.50.0150.00517.49
8.1.40.0210.00017.48
8.1.30.0140.00517.61
8.1.20.0100.00817.47
8.1.10.0170.00417.43
8.1.00.0220.00017.45
8.0.300.0040.00418.77
8.0.290.0080.00016.88
8.0.280.0070.00018.46
8.0.270.0070.00016.89
8.0.260.0030.00318.45
8.0.250.0070.00016.93
8.0.240.0040.00417.06
8.0.230.0050.00316.91
8.0.220.0000.00816.92
8.0.210.0030.00316.97
8.0.200.0130.00316.98
8.0.190.0070.01016.96
8.0.180.0120.00416.91
8.0.170.0120.00416.90
8.0.160.0110.00616.85
8.0.150.0080.00816.82
8.0.140.0110.00616.72
8.0.130.0100.00516.79
8.0.120.0120.00416.90
8.0.110.0160.00216.80
8.0.100.0040.01116.90
8.0.90.0130.00316.85
8.0.80.0140.00216.75
8.0.70.0120.00516.82
8.0.60.0090.00616.90
8.0.50.0000.01716.72
8.0.30.0110.00616.91
8.0.20.0110.00316.89
8.0.10.0100.00317.01
7.4.330.0020.00215.55
7.4.320.0060.00016.42
7.4.300.0060.00616.54
7.4.290.0100.00716.38
7.4.280.0200.00016.59
7.4.270.0100.00516.47
7.4.260.0160.00216.34
7.4.250.0160.00016.39
7.4.240.0160.00316.53
7.4.230.0110.00416.53
7.4.220.0110.00516.55
7.4.210.0100.00416.30
7.4.200.0150.00316.39
7.4.190.0100.00716.52
7.4.180.0120.00316.50
7.4.160.0100.00516.40
7.4.150.0160.00016.54
7.4.140.0070.00816.30
7.4.130.0070.01016.38
7.4.120.0110.00416.32
7.4.110.0060.00916.32
7.4.100.0150.00016.38
7.4.90.0160.00016.39
7.4.80.0000.01316.30
7.4.70.0100.00516.46
7.4.60.0100.00316.23
7.4.50.0130.00016.27
7.4.40.0080.00516.23
7.4.30.0070.00716.20
7.4.20.0090.00316.15
7.4.10.0140.00016.32
7.4.00.0000.01516.46

preferences:
38.28 ms | 403 KiB | 5 Q