title: PHP htmlspecialchars error
body: <p>why would this</p>
  
  <pre><code>$trader_details = array_walk($trader_details, 'htmlspecialchars');
  </code></pre>
  
  <p>give this error?</p>
  
  <pre><code>Severity: Warning
  Message: htmlspecialchars() expects parameter 2 to be long, string given
  </code></pre>
  
  <p>afaik htmlspecialchars only has optional parameters apart from the input string? this running in codeigniter</p>
  
  <p>thx</p>