1<documentation title="Unused function parameters"> 2 <standard> 3 <![CDATA[ 4 All parameters in a functions signature should be used within the function. 5 ]]> 6 </standard> 7 <code_comparison> 8 <code title="Valid: All the parameters are used."> 9 <![CDATA[ 10function addThree($a, $b, $c) 11{ 12 return <em>$a + $b + $c</em>; 13} 14 ]]> 15 </code> 16 <code title="Invalid: One of the parameters is not being used."> 17 <![CDATA[ 18function addThree($a, $b, $c) 19{ 20 return <em>$a + $b</em>; 21} 22 ]]> 23 </code> 24 </code_comparison> 25</documentation> 26