3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { abstract public function __construct(int $j); } class Bar extends Foo { public function __construct(int $j) { } } $ref = new \ReflectionClass(\Bar::class); var_dump($ref->getMethod('__construct')->getPrototype()->getDeclaringClass()->getName());

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.0040.01116.50
8.3.50.0100.01018.14
8.3.40.0150.00018.95
8.3.30.0030.01218.57
8.3.20.0060.00324.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.180.0060.01025.92
8.2.170.0110.01118.74
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00221.03
8.2.110.0030.00620.24
8.2.100.0040.00717.78
8.2.90.0040.00417.75
8.2.80.0040.00418.73
8.2.70.0100.00017.50
8.2.60.0040.00417.80
8.2.50.0060.00318.05
8.2.40.0030.00619.69
8.2.30.0050.00218.03
8.2.20.0000.00718.07
8.2.10.0000.00719.07
8.2.00.0040.00419.13
8.1.280.0140.00725.92
8.1.270.0060.00623.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.70
8.1.230.0040.00817.76
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.11
8.1.190.0000.00717.11
8.1.180.0030.00618.10
8.1.170.0030.00618.39
8.1.160.0050.00218.84
8.1.150.0050.00218.71
8.1.140.0040.00418.77
8.1.130.0040.00420.13
8.1.120.0030.00617.36
8.1.110.0000.00717.38
8.1.100.0000.00917.30
8.1.90.0080.00017.43
8.1.80.0000.00717.39
8.1.70.0070.00017.40
8.1.60.0030.00517.50
8.1.50.0050.00317.38
8.1.40.0040.00417.47
8.1.30.0040.00417.65
8.1.20.0000.00817.66
8.1.10.0060.00317.47
8.1.00.0000.00717.37
8.0.300.0040.00418.77
8.0.290.0080.00016.63
8.0.280.0040.00418.36
8.0.270.0000.00817.95
8.0.260.0060.00018.30
8.0.250.0030.00616.96
8.0.240.0000.00816.88
8.0.230.0000.00816.79
8.0.220.0030.00316.74
8.0.210.0030.00316.84
8.0.200.0000.00716.96
8.0.190.0040.00416.89
8.0.180.0000.00816.76
8.0.170.0030.00516.84
8.0.160.0060.00316.83
8.0.150.0000.00716.67
8.0.140.0000.00716.79
8.0.130.0030.00313.29
8.0.120.0000.00816.78
8.0.110.0020.00516.66
8.0.100.0000.00816.83
8.0.90.0030.00616.72
8.0.80.0090.00916.80
8.0.70.0070.00016.88
8.0.60.0000.00716.67
8.0.50.0050.00216.80
8.0.30.0060.01216.98
8.0.20.0120.01116.92
8.0.10.0000.00816.84
8.0.00.0100.01316.54
7.4.330.0050.00015.55
7.4.320.0060.00016.38
7.4.300.0000.00616.44
7.4.290.0030.00516.60
7.4.280.0050.00216.39
7.4.270.0000.00816.55
7.4.260.0060.00013.20
7.4.250.0000.00816.56
7.4.240.0030.00316.47
7.4.230.0000.00816.34
7.4.220.0020.00516.40
7.4.210.0090.00716.58
7.4.200.0040.00316.64
7.4.130.0080.01016.38
7.4.120.0110.01116.43
7.4.110.0100.00716.44
7.4.100.0130.00416.58
7.4.90.0130.00416.34
7.4.80.0160.00019.39
7.4.70.0090.00916.61
7.4.60.0150.00816.36
7.4.50.0150.00616.35
7.4.40.0030.01616.63
7.4.30.0070.01016.53
7.4.20.0080.01116.53
7.4.10.0140.00616.42
7.4.00.0120.00816.46
7.3.330.0030.00316.22
7.3.320.0030.00313.21
7.3.310.0000.00716.21
7.3.300.0000.00616.16
7.3.290.0090.00516.14
7.3.260.0180.00016.45
7.3.240.0090.00816.22
7.3.230.0100.00716.38
7.3.210.0130.00316.39
7.3.200.0110.00616.50
7.3.190.0100.00716.50
7.3.180.0130.00916.13
7.3.170.0100.00616.43
7.3.160.0150.00316.12
7.3.150.0090.00916.23
7.3.140.0070.01116.50
7.3.130.0100.01016.18
7.3.120.0100.01016.46
7.3.110.0090.01216.20
7.3.100.0040.01116.45
7.3.90.0080.01116.30
7.3.80.0080.00816.56
7.3.70.0070.01116.32
7.3.60.0070.01116.06
7.3.50.0090.01116.28
7.3.40.0040.01216.21
7.3.30.0080.01116.19
7.3.20.0060.01216.33
7.3.10.0180.01416.49
7.3.00.0160.00016.36
7.2.330.0070.01316.36
7.2.310.0070.01616.64
7.2.300.0160.00016.42
7.2.290.0080.00816.51
7.2.280.0140.00616.47
7.2.270.0150.00416.43
7.2.260.0030.01816.62
7.2.250.0090.01216.58
7.2.240.0070.01316.55
7.2.230.0100.00716.55
7.2.220.0100.00716.40
7.2.210.0100.01016.41
7.2.200.0130.00616.52
7.2.190.0030.01616.36
7.2.180.0100.01016.46
7.2.170.0100.00716.44
7.2.160.0120.00816.30
7.2.150.0070.01616.53
7.2.140.0030.01316.59
7.2.130.0060.01716.40
7.2.120.0090.01416.64
7.2.110.0120.00616.65
7.2.100.0170.00416.41
7.2.90.0150.00616.59
7.2.80.0120.00616.57
7.2.70.0130.00316.46
7.2.60.0110.00716.43
7.2.50.0130.00316.60
7.2.40.0060.00916.72
7.2.30.0110.00616.48
7.2.20.0060.01216.48
7.2.10.0180.00016.34
7.2.00.0070.01016.64

preferences:
34.65 ms | 400 KiB | 5 Q