Array key of string always evaluates to first character (true)
<p>When:</p>

<pre><code>$person = array('name' =&gt; 'bill');
</code></pre>

<p><code>isset($person['jibberish'])</code> evaluates to FALSE.</p>

<p>But:</p>

<pre><code>$person = 'bill';
</code></pre>

<p><code>isset($person['jibberish'])</code> evaluates to TRUE, as <code>$person['jibberish']</code> returns the first character of string $person.</p>

<p>Is this as intended? This came as a shocker to me today, as I've always used <code>empty($array['key'])</code> without ever including <code>is_array()</code> in my if statements. </p>
