Array to sting conversion notice. Why?
<p>Why I'm getting, <em>Array to string conversion in /Applications/MAMP/htdocs/test2.php on line 11</em>, Notice ?</p>

<pre><code>$users=array('aa-a', 'b-bb', 'cc-c');

foreach($users as $usr)
{
$var = htmlspecialchars(htmlspecialchars($usr));
$z = explode('-', $var);
echo "$z \n";
}
</code></pre>

<p>Can't figure out why I'm getting this, <em>gettype($var)</em> echoes string.</p>

<p>Thank you.</p>
