3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach((new ReflectionMethod('DOMNamedNodeMap::getNamedItemNS'))->getParameters() as $parameter) { echo "Parameter name: "; var_dump($parameter->getName()); echo "Has type: "; var_dump($parameter[0]->getType()); var_dump($parameter[1]->getType()); var_dump($parameter[3]->getType()); }

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.1.20.0040.00417.49
8.1.10.0040.00417.42
8.1.00.0090.00017.35
8.0.140.0030.00416.93
8.0.130.0060.00416.96
8.0.120.0090.00816.94
8.0.110.0130.00616.94
8.0.100.0170.00316.91
8.0.90.0130.00616.89
8.0.80.0140.00416.92
8.0.70.0130.00616.88
8.0.60.0100.00716.88
8.0.50.0100.00916.88
8.0.30.0160.00416.93
8.0.20.0170.00117.02
8.0.10.0130.00617.00
8.0.00.0150.00317.09
7.4.270.0080.00016.55
7.4.260.0100.00516.44
7.4.250.0050.01316.45
7.4.240.0140.00416.44
7.4.230.0140.00816.41
7.4.220.0090.00816.51
7.4.210.0100.00716.49
7.4.200.0120.00416.41
7.4.190.0140.00216.47
7.4.180.0110.00616.56
7.4.160.0080.00916.50
7.4.150.0110.00516.48
7.4.140.0140.00216.30
7.4.130.0130.00516.20
7.4.120.0120.00516.31
7.4.110.0100.00716.42
7.4.100.0150.00216.53
7.4.90.0120.00516.36
7.4.80.0110.00516.48
7.4.70.0140.00316.43
7.4.60.0140.00416.43
7.4.50.0110.00416.36
7.4.40.0120.00416.23
7.4.30.0100.00616.42
7.4.20.0080.00916.40
7.4.10.0110.00516.47
7.4.00.0130.00416.40
7.3.330.0130.00716.18
7.3.320.0160.00116.19
7.3.310.0140.00616.06
7.3.300.0120.00716.26
7.3.290.0100.00816.20
7.3.280.0140.00416.24
7.3.270.0160.00316.22
7.3.260.0170.00216.26
7.3.250.0200.00016.03
7.3.240.0130.00516.38
7.3.230.0090.00816.36
7.3.220.0140.00516.04
7.3.210.0110.00616.25
7.3.200.0120.00516.18
7.3.190.0120.00516.32
7.3.180.0100.00616.32
7.3.170.0090.00416.27
7.3.160.0070.00816.11
7.3.150.0140.00216.29
7.3.140.0070.00716.15
7.3.130.0100.00616.18
7.3.120.0100.00416.27
7.3.110.0100.00316.20
7.3.100.0120.00216.13
7.3.90.0090.00316.34
7.3.80.0070.00516.17
7.3.70.0060.00316.07
7.3.60.0050.00416.02
7.3.50.0070.00316.29
7.3.40.0050.00516.21
7.3.30.0080.00516.40
7.3.20.0080.00417.91
7.3.10.0090.00118.21
7.3.00.0060.00718.01
7.2.340.0180.00716.46
7.2.330.0220.00616.36
7.2.320.0190.00016.41
7.2.310.0150.00416.47
7.2.300.0140.00616.35
7.2.290.0160.00316.36
7.2.280.0120.00816.33
7.2.270.0160.00316.22
7.2.260.0180.00916.23
7.2.250.0180.00016.26
7.2.240.0150.00516.54
7.2.230.0130.00716.48
7.2.220.0200.00516.39
7.2.210.0120.00816.30
7.2.200.0180.00516.66
7.2.190.0130.00716.36
7.2.180.0150.00416.47
7.2.170.0090.00916.59
7.2.160.0170.00316.46
7.2.150.0170.00318.23
7.2.140.0120.00918.36
7.2.130.0170.00618.48
7.2.120.0160.00818.46
7.2.110.0130.00618.52
7.2.100.0120.00818.43
7.2.90.0170.00318.37
7.2.80.0130.00718.55
7.2.70.0110.00818.25
7.2.60.0150.00418.46
7.2.50.0150.00418.41
7.2.40.0130.00518.40
7.2.30.0140.00618.22
7.2.20.0130.00718.45
7.2.10.0120.00818.52
7.2.00.0150.00418.53
7.1.330.0100.00717.30
7.1.320.0130.00417.43
7.1.310.0170.00017.52
7.1.300.0140.00317.25
7.1.290.0110.00717.25
7.1.280.0140.00517.34
7.1.270.0090.00917.24
7.1.260.0070.01017.39
7.1.250.0110.00817.28
7.1.240.0110.00817.18
7.1.230.0090.00917.40
7.1.220.0110.00717.14
7.1.210.0130.00617.16
7.1.200.0110.00717.39
7.1.190.0180.00017.28
7.1.180.0140.00417.32
7.1.170.0180.00017.21
7.1.160.0120.00517.23
7.1.150.0180.00017.06
7.1.140.0150.00317.18
7.1.130.0180.00017.43
7.1.120.0140.00317.02
7.1.110.0150.00317.34
7.1.100.0160.00317.35
7.1.90.0130.00417.28
7.1.80.0120.00617.39
7.1.70.0120.00617.03
7.1.60.0140.00617.26
7.1.50.0120.00817.16
7.1.40.0140.00517.25
7.1.30.0140.00417.24
7.1.20.0110.00717.15
7.1.10.0130.00417.39
7.1.00.0130.00417.32
7.0.330.0170.00017.00
7.0.320.0200.00016.86
7.0.310.0080.01016.91
7.0.300.0130.00416.75
7.0.290.0170.00016.71
7.0.280.0070.01016.93
7.0.270.0170.00016.97
7.0.260.0130.00317.01
7.0.250.0170.00017.21
7.0.240.0130.00317.21
7.0.230.0140.00317.15
7.0.220.0170.00017.12
7.0.210.0170.00017.02
7.0.200.0160.00017.16
7.0.190.0180.00017.15
7.0.180.0150.00417.22
7.0.170.0080.00816.89
7.0.160.0070.01017.12
7.0.150.0080.00816.89
7.0.140.0140.00317.09
7.0.130.0140.00316.79
7.0.120.0050.01116.81
7.0.110.0180.00017.02
7.0.100.0120.00816.82
7.0.90.0130.00316.76
7.0.80.0160.00016.91
7.0.70.0150.00316.76
7.0.60.0150.00316.91
7.0.50.0130.00516.67
7.0.40.0140.00216.99
7.0.30.0140.00316.94
7.0.20.0120.00916.92
7.0.10.0090.00916.88
7.0.00.0180.00016.84
5.6.400.0170.00015.64
5.6.390.0120.00615.93
5.6.380.0110.00615.86
5.6.370.0170.00015.85
5.6.360.0120.00715.88
5.6.350.0150.00415.89
5.6.340.0140.00315.83
5.6.330.0160.00015.68
5.6.320.0140.00315.84
5.6.310.0110.00715.89
5.6.300.0160.00015.57
5.6.290.0130.00315.91
5.6.280.0130.00315.85
5.6.270.0120.00415.61
5.6.260.0160.00015.71
5.6.250.0160.00015.71
5.6.240.0130.00415.46
5.6.230.0120.00415.65
5.6.220.0130.00615.87
5.6.210.0130.00415.91
5.6.200.0140.00315.89
5.6.190.0120.00415.78
5.6.180.0050.01115.98
5.6.170.0110.00715.98
5.6.160.0100.00715.79
5.6.150.0130.00315.75
5.6.140.0160.00015.73
5.6.130.0120.00415.93
5.6.120.0120.00515.88
5.6.110.0100.00715.84
5.6.100.0060.01115.85
5.6.90.0120.00615.75
5.6.80.0140.00315.84
5.6.70.0120.00416.04
5.6.60.0030.01216.02
5.6.50.0170.00015.89
5.6.40.0160.00015.79
5.6.30.0100.00715.64
5.6.20.0140.00415.48
5.6.10.0070.01015.52
5.6.00.0080.00815.73
5.5.380.0150.00216.03
5.5.370.0120.00615.96
5.5.360.0140.00315.57
5.5.350.0130.00415.59
5.5.340.0140.00315.67
5.5.330.0120.00415.55
5.5.320.0110.00515.55
5.5.310.0130.00315.51
5.5.300.0160.00015.78
5.5.290.0110.00615.60
5.5.280.0140.00315.66
5.5.270.0140.00415.71
5.5.260.0160.00015.52
5.5.250.0140.00215.66
5.5.240.0100.00715.83
5.5.230.0100.00515.68
5.5.220.0170.00015.94
5.5.210.0130.00315.91
5.5.200.0130.00315.68
5.5.190.0110.00515.72
5.5.180.0110.00415.56
5.5.170.0110.00515.76
5.5.160.0160.00015.73
5.5.150.0120.00315.54
5.5.140.0160.00015.43
5.5.130.0130.00315.60
5.5.120.0100.00715.32
5.5.110.0120.00415.38
5.5.100.0120.00415.62
5.5.90.0100.00515.84
5.5.80.0120.00315.71
5.5.70.0120.00515.64
5.5.60.0110.00615.89
5.5.50.0120.00415.80
5.5.40.0100.00515.64
5.5.30.0130.00315.59
5.5.20.0090.00615.59
5.5.10.0100.00515.60
5.5.00.0100.00515.93
5.4.450.0140.00012.56
5.4.440.0110.00212.58
5.4.430.0100.00312.51
5.4.420.0040.00912.40
5.4.410.0050.00812.51
5.4.400.0100.00312.41
5.4.390.0140.00012.38
5.4.380.0140.00012.55
5.4.370.0030.01012.55
5.4.360.0130.00012.71
5.4.350.0080.00412.51
5.4.340.0100.00312.44
5.4.330.0140.00012.50
5.4.320.0080.00712.68
5.4.310.0140.00012.58
5.4.300.0150.00012.46
5.4.290.0080.00512.49
5.4.280.0100.00312.61
5.4.270.0130.00012.45
5.4.260.0130.00012.43
5.4.250.0080.00512.70
5.4.240.0120.00012.39
5.4.230.0120.00012.20
5.4.220.0130.00012.21
5.4.210.0110.00312.36
5.4.200.0120.00312.52
5.4.190.0080.00512.17
5.4.180.0110.00312.51
5.4.170.0100.00312.48
5.4.160.0060.00912.33
5.4.150.0120.00212.30
5.4.140.0110.00312.38
5.4.130.0130.00012.69
5.4.120.0100.00312.54
5.4.110.0060.00612.36
5.4.100.0090.00412.46
5.4.90.0120.00012.36
5.4.80.0080.00412.57
5.4.70.0080.00512.68
5.4.60.0130.00012.88
5.4.50.0060.00612.58
5.4.40.0080.00412.67
5.4.30.0070.00512.56
5.4.20.0120.00012.68
5.4.10.0100.00512.57
5.4.00.0130.00012.49
5.3.290.0100.00312.61
5.3.280.0130.00012.44
5.3.270.0090.00412.84
5.3.260.0100.00312.79
5.3.250.0080.00412.89
5.3.240.0100.00312.77
5.3.230.0100.00212.41
5.3.220.0130.00012.84
5.3.210.0100.00312.60
5.3.200.0090.00412.74
5.3.190.0080.00412.87
5.3.180.0100.00312.79
5.3.170.0040.00812.79
5.3.160.0080.00413.02
5.3.150.0080.00512.68
5.3.140.0140.00012.89
5.3.130.0130.00012.61
5.3.120.0120.00312.71
5.3.110.0110.00712.58
5.3.100.0130.00312.60
5.3.90.0120.00312.73
5.3.80.0120.00312.54
5.3.70.0090.00612.52
5.3.60.0120.00412.65
5.3.50.0150.00012.82
5.3.40.0070.00712.77
5.3.30.0090.00612.58
5.3.20.0070.00712.47
5.3.10.0100.00312.59
5.3.00.0100.00512.60
5.2.170.0090.00311.84
5.2.160.0100.00311.66
5.2.150.0100.00311.89
5.2.140.0130.00311.73
5.2.130.0090.00211.73
5.2.120.0140.00011.82
5.2.110.0140.00011.72
5.2.100.0080.00511.82
5.2.90.0060.00711.65
5.2.80.0120.00011.61
5.2.70.0070.00511.81
5.2.60.0100.00311.65
5.2.50.0060.00611.80
5.2.40.0060.00611.55
5.2.30.0130.00011.73
5.2.20.0120.00011.44
5.2.10.0090.00411.28
5.2.00.0110.00011.46
5.1.60.0110.00010.65
5.1.50.0080.00410.82
5.1.40.0070.00410.74
5.1.30.0050.00510.86
5.1.20.0070.00410.98
5.1.10.0050.00510.99
5.1.00.0110.00010.65
5.0.50.0060.00310.65
5.0.40.0050.00510.65
5.0.30.0060.00410.65
5.0.20.0070.00310.65
5.0.10.0040.00410.65
5.0.00.0100.00010.65
4.4.90.0050.00010.65
4.4.80.0000.00510.65
4.4.70.0060.00010.65
4.4.60.0000.00610.65
4.4.50.0060.00010.65
4.4.40.0000.00610.65
4.4.30.0040.00010.65
4.4.20.0060.00010.65
4.4.10.0050.00010.65
4.4.00.0050.00010.65
4.3.110.0060.00010.65
4.3.100.0060.00010.65
4.3.90.0060.00010.65
4.3.80.0040.00210.65
4.3.70.0000.00510.65
4.3.60.0000.00610.65
4.3.50.0000.00610.65
4.3.40.0050.00010.65
4.3.30.0040.00010.65
4.3.20.0040.00010.65
4.3.10.0020.00210.65
4.3.00.0040.00010.65

preferences:
15.73 ms | 455 KiB | 5 Q