3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace App; class Foo { public function bar(string $p = new parent) { } } $r = new \ReflectionMethod(Foo::class, 'bar'); echo $r->getParameters()[0];

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.0090.00820.16
8.5.00.0130.00919.97
8.4.160.0130.00923.77
8.4.150.0020.00014.05
8.4.140.0120.01017.45
8.4.130.0120.00417.81
8.4.120.0040.00820.70
8.4.110.0160.00522.46
8.4.100.0080.01117.77
8.4.90.0160.00518.69
8.4.80.0060.00318.02
8.4.70.0040.00518.04
8.4.60.0120.01218.95
8.4.50.0080.00722.18
8.4.40.0130.00317.62
8.4.30.0100.01018.98
8.4.20.0100.00717.90
8.4.10.0040.00423.71
8.3.280.0120.00820.02
8.3.270.0100.00916.25
8.3.260.0120.01016.41
8.3.250.0130.00618.78
8.3.240.0060.00416.43
8.3.230.0050.00316.37
8.3.220.0120.00417.12
8.3.210.0040.00518.43
8.3.200.0060.00216.52
8.3.190.0050.00217.15
8.3.180.0150.00516.59
8.3.170.0000.00816.98
8.3.160.0140.00316.73
8.3.150.0180.00016.47
8.3.140.0110.00718.41
8.3.130.0050.00518.29
8.3.120.0040.00718.81
8.3.110.0030.00616.45
8.3.100.0040.01216.52
8.3.50.0090.00616.38
8.2.290.0040.00520.50
8.2.280.0080.01318.49
8.2.270.0160.00417.32
8.2.260.0040.00416.68
8.2.250.0050.00318.64
8.2.240.0000.01116.82
8.2.230.0060.01316.64
8.2.220.0060.00316.43
8.1.330.0090.00923.57
8.1.320.0130.00516.25
8.1.310.0090.00915.94
8.1.300.0060.01220.08
8.1.100.0090.00517.38
8.1.90.0050.00517.28
8.1.80.0070.00717.32
8.1.70.0060.00917.37
8.1.60.0130.00417.53
8.1.50.0090.01017.32
8.1.40.0110.00717.33
8.1.30.0150.00417.45
8.1.20.0130.00517.64
8.1.10.0160.00317.59
8.1.00.0130.00817.52
8.0.230.0040.00416.76
8.0.220.0130.00216.81
8.0.210.0120.00316.74
8.0.200.0120.00416.71
8.0.190.0080.00816.84
8.0.180.0000.01716.80
8.0.170.0100.00816.80
8.0.160.0120.00616.69
8.0.150.0140.00016.61
8.0.140.0150.00216.64
8.0.130.0100.00716.59
8.0.120.0040.01216.80
8.0.110.0120.00416.82
8.0.100.0000.01616.68
8.0.90.0100.00716.79
8.0.80.0070.00816.80
8.0.70.0130.00316.74
8.0.60.0120.00316.65
8.0.50.0050.01016.79
8.0.30.0130.00216.75
8.0.20.0080.00616.75
8.0.10.0120.00416.95
7.4.300.0140.00316.40
7.4.290.0110.00816.44
7.4.280.0130.00816.36
7.4.270.0060.01116.39
7.4.260.0170.00316.46
7.4.250.0070.00716.27
7.4.240.0060.00916.46
7.4.230.0130.00216.29
7.4.220.0140.00016.46
7.4.210.0110.00416.37
7.4.200.0130.00316.42
7.4.190.0100.00516.35
7.4.180.0060.00616.42
7.4.160.0110.00416.50
7.4.150.0150.00016.19
7.4.140.0090.00216.35
7.4.130.0090.00316.28
7.4.120.0080.00516.25
7.4.110.0100.00016.28
7.4.100.0050.00516.48
7.4.90.0120.00316.36
7.4.80.0100.00516.15
7.4.70.0140.00016.11
7.4.60.0100.00516.23
7.4.50.0120.00316.00
7.4.40.0080.00716.20
7.4.30.0080.00816.13
7.4.20.0160.00016.19
7.4.10.0070.00816.23
7.4.00.0050.01016.35

preferences:
82.77 ms | 403 KiB | 5 Q