3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function bar( ...$many ); } $reflector = new ReflectionClass('Foo'); foreach ($reflector->getMethods() as $method) { echo "\nmethod {$method->getName()}:\n"; foreach ($method->getParameters() as $param) { echo " - name: " . $param->getName() . "\n"; echo " hasType: " . ( $param->hasType() ? 'true' : 'false' ) . "\n"; echo " type: " . $param->getType() . "\n"; } }

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.0110.00418.41
8.3.50.0120.00617.98
8.3.40.0120.00618.67
8.3.30.0120.00618.47
8.3.20.0090.00020.72
8.3.10.0050.00323.66
8.3.00.0080.00020.86
8.2.180.0070.00718.41
8.2.170.0000.01422.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0000.00726.16
8.2.120.0060.00320.92
8.2.110.0100.00020.77
8.2.100.0080.00417.72
8.2.90.0000.00817.71
8.2.80.0080.00017.97
8.2.70.0080.00018.03
8.2.60.0040.00419.95
8.2.50.0080.00018.10
8.2.40.0050.00319.00
8.2.30.0040.00419.17
8.2.20.0000.00818.12
8.2.10.0040.00419.15
8.2.00.0040.00418.20
8.1.280.0160.00925.92
8.1.270.0040.00420.38
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00319.13
8.1.230.0080.00419.10
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0090.00017.23
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0070.00318.57
8.1.160.0040.00418.86
8.1.150.0040.00418.80
8.1.140.0030.00319.03
8.1.130.0000.00620.30
8.1.120.0030.00317.55
8.1.110.0040.00417.53
8.1.100.0030.00517.37
8.1.90.0070.00017.48
8.1.80.0030.00517.35
8.1.70.0040.00417.47
8.1.60.0050.00317.53
8.1.50.0000.00817.53
8.1.40.0000.00817.56
8.1.30.0030.00717.66
8.1.20.0030.00617.66
8.1.10.0000.00817.57
8.1.00.0000.00817.44
8.0.300.0090.00021.50
8.0.290.0100.00016.63
8.0.280.0030.00318.50
8.0.270.0000.00816.74
8.0.260.0000.00818.45
8.0.250.0070.00017.02
8.0.240.0030.00316.99
8.0.230.0040.00417.02
8.0.220.0000.00716.93
8.0.210.0000.00716.93
8.0.200.0000.00616.92
8.0.190.0000.00916.86
8.0.180.0030.00616.95
8.0.170.0000.00916.82
8.0.160.0030.00416.87
8.0.150.0050.00316.87
8.0.140.0070.00016.78
8.0.130.0060.00013.28
8.0.120.0000.00716.74
8.0.110.0000.00816.73
8.0.100.0060.00316.77
8.0.90.0000.00716.82
8.0.80.0090.00716.92
8.0.70.0070.00016.97
8.0.60.0080.00016.80
8.0.50.0040.00416.91
8.0.30.0090.00916.91
8.0.20.0120.00617.22
8.0.10.0000.00717.01
8.0.00.0110.01016.71
7.4.330.0050.00016.84
7.4.320.0030.00316.63
7.4.300.0030.00316.52
7.4.290.0030.00316.51
7.4.280.0080.00016.52
7.4.270.0030.00316.42
7.4.260.0050.00316.41
7.4.250.0030.00316.51
7.4.240.0030.00416.56
7.4.230.0080.00016.65
7.4.220.0000.00716.34
7.4.210.0090.00716.59
7.4.200.0000.00716.45
7.4.160.0060.01116.38
7.4.130.0120.00916.44
7.4.120.0100.00716.50
7.4.110.0130.00816.47
7.4.100.0160.00616.64
7.4.90.0040.01216.54
7.4.80.0080.00819.39
7.4.70.0130.00816.41
7.4.60.0130.00316.52
7.4.50.0030.00716.36
7.4.40.0030.01416.52
7.4.00.0000.01515.13
7.3.330.0030.00213.23
7.3.320.0060.00013.27
7.3.310.0030.00316.25
7.3.300.0030.00316.29
7.3.290.0120.00316.28
7.3.280.0090.00916.23
7.3.260.0100.00816.43
7.3.240.0060.01116.41
7.3.230.0090.00916.57
7.3.210.0090.00916.36
7.3.200.0120.00416.18
7.3.190.0130.00316.32
7.3.180.0090.00616.44
7.3.170.0180.00016.49
7.3.160.0070.00716.52
7.3.40.0000.01114.38
7.3.30.0030.00914.64
7.3.20.0100.00316.47
7.3.10.0080.00316.44
7.3.00.0100.01016.38
7.2.330.0060.01216.68
7.2.320.0120.01216.61
7.2.310.0030.01316.73
7.2.300.0060.01316.66
7.2.290.0140.00316.69
7.2.170.0060.01314.67
7.2.160.0000.01114.83
7.2.150.0060.00616.83
7.2.140.0180.00516.75
7.2.130.0120.00616.81
7.2.120.0130.01016.54
7.2.110.0150.00916.84
7.2.100.0070.00616.73
7.2.90.0160.00016.43
7.2.80.0120.00816.49
7.2.70.0100.00316.74
7.2.60.0060.00916.62
7.2.50.0060.00616.80
7.2.40.0060.00716.73
7.2.30.0070.00416.65
7.2.20.0040.00816.65
7.2.10.0100.00916.65
7.2.00.0150.01116.96
7.1.280.0040.01815.67
7.1.270.0030.00715.41
7.1.260.0000.01115.60
7.1.250.0130.00715.44
7.1.240.0110.00015.80
7.1.230.0030.00915.49
7.1.220.0150.00615.71
7.1.210.0170.00315.72
7.1.200.0090.00915.65
7.1.190.0100.00715.78
7.1.180.0120.00715.79
7.1.170.0200.00315.64
7.1.160.0100.00815.54
7.1.150.0090.00615.65
7.1.140.0060.00915.34
7.1.130.0110.00015.50
7.1.120.0210.00315.42
7.1.110.0040.00915.53
7.1.100.0050.01015.65
7.1.90.0040.00815.36
7.1.80.0030.00615.74
7.1.70.0090.00515.72
7.1.60.0110.00815.86
7.1.50.0130.00015.52
7.1.40.0040.00815.28
7.1.30.0090.00515.48
7.1.20.0040.00915.85
7.1.10.0060.01515.63
7.1.00.0100.00015.65
7.0.330.0130.00515.04
7.0.320.0030.01515.22
7.0.310.0040.00715.14
7.0.300.0080.00615.38
7.0.290.0080.00315.06
7.0.280.0140.00615.53
7.0.270.0130.00415.28
7.0.260.0110.00215.34
7.0.250.0110.00015.41
7.0.240.0000.01115.48
7.0.230.0030.00715.45
7.0.220.0030.00615.35
7.0.210.0100.00815.52
7.0.200.0030.01315.32
7.0.190.0080.00315.34
7.0.180.0070.00515.06
7.0.170.0070.00315.36
7.0.160.0090.01415.30
7.0.150.0090.00215.12
7.0.140.0080.00515.51
7.0.130.0060.01115.36
7.0.120.0070.00215.51
7.0.110.0000.01115.37
7.0.100.0090.00015.25
7.0.90.0000.01115.12
7.0.80.0050.00515.36
7.0.70.0030.00815.55
7.0.60.0040.00815.09
7.0.50.0080.00415.58
7.0.40.0050.00515.34
7.0.30.0110.00415.43
7.0.20.0180.00415.13
7.0.10.0110.01115.38
7.0.00.0080.00815.47
5.6.400.0070.00313.98
5.6.390.0080.01614.26
5.6.380.0050.00814.28
5.6.370.0040.00814.10
5.6.360.0090.00314.12
5.6.350.0000.01014.22
5.6.340.0110.00414.31
5.6.330.0140.00414.31
5.6.320.0070.01413.89
5.6.310.0090.00314.25
5.6.300.0050.00614.20
5.6.290.0060.00614.41
5.6.280.0070.00414.29
5.6.270.0090.00514.52
5.6.260.0060.00614.32
5.6.250.0100.00014.39
5.6.240.0120.01514.39
5.6.230.0050.00514.24
5.6.220.0080.00314.28
5.6.210.0100.00014.25
5.6.200.0150.00514.08
5.6.190.0000.01014.11
5.6.180.0140.00014.16
5.6.170.0120.01514.06
5.6.160.0090.00614.13
5.6.150.0160.00414.21
5.6.140.0110.00814.43
5.6.130.0120.00914.11
5.6.120.0090.00514.39
5.6.110.0070.00714.17
5.6.100.0070.00714.00
5.6.90.0040.00914.31
5.6.80.0150.00014.31
5.6.70.0050.00814.16
5.6.60.0080.00814.37
5.6.50.0000.01414.39
5.6.40.0210.00314.29
5.6.30.0140.00714.40
5.6.20.0140.01114.35
5.6.10.0070.00714.04
5.6.00.0240.01014.27
5.5.380.0000.01114.04
5.5.370.0050.00514.18
5.5.360.0090.00614.18
5.5.350.0080.00313.80
5.5.340.0080.00813.91
5.5.330.0070.00314.02
5.5.320.0150.00413.71
5.5.310.0100.00914.36
5.5.300.0130.00913.74
5.5.290.0110.01114.22
5.5.280.0160.00314.27
5.5.270.0110.00413.64
5.5.260.0050.01113.97
5.5.250.0140.00514.12
5.5.240.0090.00913.85
5.5.230.0110.00513.84
5.5.220.0060.00614.11
5.5.210.0140.00513.97
5.5.200.0070.01814.11
5.5.190.0090.00914.08
5.5.180.0090.00613.95
5.5.170.0120.00614.11
5.5.160.0140.00913.96
5.5.150.0120.00613.93
5.5.140.0110.00514.02
5.5.130.0200.00413.80
5.5.120.0070.01813.82
5.5.110.0100.01114.12
5.5.100.0120.00913.70
5.5.90.0160.00613.79
5.5.80.0170.01413.87
5.5.70.0100.00413.81
5.5.60.0130.00713.82
5.5.50.0100.00513.78
5.5.40.0080.00313.84
5.5.30.0140.01013.85
5.5.20.0090.01213.95
5.5.10.0070.01113.90
5.5.00.0050.00913.54
5.4.450.0080.00410.82
5.4.440.0120.00010.70
5.4.430.0070.00310.50
5.4.420.0040.00610.97
5.4.410.0040.00410.46
5.4.400.0040.00810.85
5.4.390.0120.00010.62
5.4.380.0000.00810.75
5.4.370.0080.00310.71
5.4.360.0100.00510.57
5.4.350.0080.00410.66
5.4.340.0110.00010.42
5.4.330.0080.00310.86
5.4.320.0040.00810.71
5.4.310.0060.00710.64
5.4.300.0060.00610.73
5.4.290.0110.00010.73
5.4.280.0100.00310.84
5.4.270.0100.01010.64
5.4.260.0160.00210.78
5.4.250.0150.00310.59
5.4.240.0110.00010.51
5.4.230.0080.00410.70
5.4.220.0070.00510.84
5.4.210.0050.00510.85
5.4.200.0100.00011.00
5.4.190.0080.00410.56
5.4.180.0030.00610.59
5.4.170.0030.00710.63
5.4.160.0180.00011.02
5.4.150.0060.00610.89
5.4.140.0000.01110.50
5.4.130.0120.00310.81
5.4.120.0140.00311.02
5.4.110.0090.00310.81
5.4.100.0050.00510.61
5.4.90.0040.00810.80
5.4.80.0090.00010.37
5.4.70.0040.00410.83
5.4.60.0070.00310.82
5.4.50.0050.00510.91
5.4.40.0060.00910.90
5.4.30.0090.00410.66
5.4.20.0000.01010.74
5.4.10.0110.00010.61
5.4.00.0050.00310.64
5.3.290.0060.00310.34
5.3.280.0040.00710.22
5.3.270.0140.00710.29
5.3.260.0150.00010.26
5.3.250.0060.00210.17
5.3.240.0130.00510.14
5.3.230.0050.01310.23
5.3.220.0110.00010.23
5.3.210.0090.00310.25
5.3.200.0060.00610.16
5.3.190.0030.00610.13
5.3.180.0070.00310.39
5.3.170.0030.01010.37
5.3.160.0000.00810.29
5.3.150.0140.00410.33
5.3.140.0120.00010.19
5.3.130.0040.00410.18
5.3.120.0070.00710.35
5.3.110.0120.00010.36
5.3.100.0030.01010.38
5.3.90.0050.00510.20
5.3.80.0070.01010.00
5.3.70.0040.01210.13
5.3.60.0070.00010.04
5.3.50.0040.00410.34
5.3.40.0050.00510.25
5.3.30.0060.01210.23
5.3.20.0140.00310.03
5.3.10.0090.00610.06
5.3.00.0080.00010.05
5.2.170.0080.0009.43
5.2.160.0080.0009.29
5.2.150.0060.0069.30
5.2.140.0000.0069.29
5.2.130.0020.0059.09
5.2.120.0060.0009.31
5.2.110.0030.0039.31
5.2.100.0030.0079.07
5.2.90.0000.0069.31
5.2.80.0110.0039.25
5.2.70.0000.0079.18
5.2.60.0120.0009.16
5.2.50.0050.0059.35
5.2.40.0120.0009.12
5.2.30.0060.0038.93
5.2.20.0120.0008.93
5.2.10.0050.0109.04
5.2.00.0070.0008.79
5.1.60.0060.0008.38
5.1.50.0100.0038.25
5.1.40.0060.0008.48
5.1.30.0020.0038.62
5.1.20.0070.0008.39
5.1.10.0080.0038.47
5.1.00.0070.0038.21
5.0.50.0050.0008.21
5.0.40.0070.0008.21
5.0.30.0080.0008.21
5.0.20.0030.0078.21
5.0.10.0020.0048.21
5.0.00.0000.0058.21
4.4.90.0000.0058.21
4.4.80.0030.0028.21
4.4.70.0000.0058.21
4.4.60.0000.0038.21
4.4.50.0000.0058.21
4.4.40.0050.0008.21
4.4.30.0080.0038.21
4.4.20.0040.0048.21
4.4.10.0030.0038.21
4.4.00.0080.0008.21
4.3.110.0040.0048.21
4.3.100.0060.0048.21
4.3.90.0060.0008.21
4.3.80.0000.0048.21
4.3.70.0000.0058.21
4.3.60.0050.0008.21
4.3.50.0000.0048.21
4.3.40.0070.0028.21
4.3.30.0030.0038.21
4.3.20.0040.0008.21
4.3.10.0070.0008.21
4.3.00.0050.0008.21

preferences:
85.86 ms | 400 KiB | 5 Q