key($data) not working as expected when value = 0?
<p>i have a while loop, it goes like so....</p>

<pre><code>        while ($fruit_name = current($data)) {
            $string1 .= "'".key($data)."',";
            next($data);
        }
</code></pre>

<p>this works perfectly, and echos:</p>

<pre><code>'derp','test'
</code></pre>

<p>when the array data = </p>

<pre><code>Array ( [derp] =&gt; 68 [test] =&gt; 1 )
</code></pre>

<p>but, if the array data =</p>

<pre><code>Array ( [derp] =&gt; 0 [test] =&gt; 0 )
</code></pre>

<p>it echos</p>

<pre><code>  nothing,
</code></pre>

<p>what do?</p>
