3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct(int $j) { } } class Bar extends Foo { public function __construct(string $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.0180.00417.90
8.3.40.0090.00619.18
8.3.30.0070.00718.79
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.180.0160.00325.92
8.2.170.0120.00318.96
8.2.160.0080.00622.96
8.2.150.0050.00225.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00826.35
8.2.110.0070.00320.21
8.2.100.0090.00317.91
8.2.90.0070.00317.75
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0030.00517.50
8.2.50.0040.00418.05
8.2.40.0000.00819.88
8.2.30.0000.00717.93
8.2.20.0040.00418.09
8.2.10.0040.00419.12
8.2.00.0040.00419.25
8.1.280.0070.01425.92
8.1.270.0030.00623.99
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0030.00722.34
8.1.230.0070.00419.01
8.1.220.0100.00017.74
8.1.210.0070.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.13
8.1.180.0080.00018.10
8.1.170.0060.00318.37
8.1.160.0040.00418.83
8.1.150.0040.00418.83
8.1.140.0040.00418.90
8.1.130.0000.00820.14
8.1.120.0050.00317.26
8.1.110.0040.00417.41
8.1.100.0060.00317.41
8.1.90.0040.00417.27
8.1.80.0040.00417.47
8.1.70.0040.00417.32
8.1.60.0030.00517.50
8.1.50.0030.00517.55
8.1.40.0060.00317.54
8.1.30.0030.00517.54
8.1.20.0080.00017.56
8.1.10.0020.00517.65
8.1.00.0000.00717.54
8.0.300.0040.00419.79
8.0.290.0080.00016.75
8.0.280.0030.00318.46
8.0.270.0030.00618.03
8.0.260.0060.00018.34
8.0.250.0060.00317.00
8.0.240.0000.00816.84
8.0.230.0080.00016.97
8.0.220.0000.00716.92
8.0.210.0000.00716.90
8.0.200.0030.00316.93
8.0.190.0040.00416.96
8.0.180.0030.00616.83
8.0.170.0050.00316.83
8.0.160.0000.00716.82
8.0.150.0030.00316.88
8.0.140.0040.00416.76
8.0.130.0050.00013.38
8.0.120.0000.00816.92
8.0.110.0070.00316.96
8.0.100.0060.00316.79
8.0.90.0030.00716.79
8.0.80.0070.01116.84
8.0.70.0070.00016.88
8.0.60.0050.00316.80
8.0.50.0000.00816.68
8.0.30.0100.00716.89
8.0.20.0130.00617.10
8.0.10.0000.00817.05
8.0.00.0060.02216.58
7.4.330.0060.00015.55
7.4.320.0000.00616.56
7.4.300.0000.00716.49
7.4.290.0070.00016.59
7.4.280.0070.00016.65
7.4.270.0030.00616.54
7.4.260.0000.00513.33
7.4.250.0040.00416.54
7.4.240.0040.00416.60
7.4.230.0030.00516.59
7.4.220.0050.00216.61
7.4.210.0080.00816.60
7.4.200.0000.00816.69
7.4.130.0050.01216.44
7.4.120.0090.01316.61
7.4.110.0060.01216.54
7.4.100.0070.01016.72
7.4.90.0120.00616.41
7.4.80.0040.01219.39
7.4.70.0120.00616.70
7.4.60.0100.00616.40
7.4.50.0100.00716.68
7.4.40.0060.01516.35
7.4.30.0150.00816.57
7.4.20.0100.00716.50
7.4.10.0090.00616.49
7.4.00.0110.00616.61
7.3.330.0030.00316.29
7.3.320.0000.00613.16
7.3.310.0070.00016.36
7.3.300.0000.00616.18
7.3.290.0080.00916.26
7.3.260.0160.00316.52
7.3.240.0100.00616.46
7.3.230.0100.00716.38
7.3.210.0060.01216.55
7.3.200.0060.01516.48
7.3.190.0000.01616.61
7.3.180.0100.00616.45
7.3.170.0100.00616.52
7.3.160.0190.00016.35
7.3.150.0140.00716.49
7.3.140.0080.00816.47
7.3.130.0070.01016.34
7.3.120.0080.01116.61
7.3.110.0100.00716.45
7.3.100.0130.00916.37
7.3.90.0120.00616.34
7.3.80.0180.00016.40
7.3.70.0140.01116.36
7.3.60.0070.01116.34
7.3.50.0110.01116.35
7.3.40.0110.00916.36
7.3.30.0050.01516.31
7.3.20.0090.00916.33
7.3.10.0080.01316.29
7.3.00.0090.01316.32
7.2.330.0090.00916.66
7.2.320.0150.00716.32
7.2.310.0110.00616.63
7.2.300.0120.00916.44
7.2.290.0190.00616.20
7.2.280.0130.00916.63
7.2.270.0080.01216.57
7.2.260.0120.00716.52
7.2.250.0120.01016.62
7.2.240.0100.01016.55
7.2.230.0100.01016.61
7.2.220.0100.01016.78
7.2.210.0160.00816.50
7.2.200.0060.01716.35
7.2.190.0090.01016.44
7.2.180.0000.02216.55
7.2.170.0110.00816.46
7.2.160.0080.01216.44
7.2.150.0140.01416.61
7.2.140.0100.01016.70
7.2.130.0100.01616.45
7.2.120.0460.00416.59
7.2.110.0180.00416.59
7.2.100.0070.01516.45
7.2.90.0150.00416.57
7.2.80.0170.00416.39
7.2.70.0070.01216.64
7.2.60.0090.00916.48
7.2.50.0130.00416.55
7.2.40.0070.01016.61
7.2.30.0050.01416.62
7.2.20.0140.00516.48
7.2.10.0090.01316.54
7.2.00.0430.01216.42

preferences:
70.2 ms | 400 KiB | 5 Q