PHP array reads
<p>The file originally was like this way:</p>

<p>$strings</p>

<blockquote>
  <p>redredredredgreengreengreengreengreenblackblackblackblackblackwhitewhitewhitewhitewhitewhitewhitewhitewhitewhitewhitegreenredorangeorangeorangeblackblackblackyellowyellowyellowyellow</p>
</blockquote>

<p>foreach ($inarray as $k=>$v)</p>

<p>So I converted to array</p>

<pre><code>Array ( [0] =&gt; red[red] =&gt; 17 
        [1] =&gt; orange[orange] =&gt; 3 
        [2] =&gt; green[green] =&gt; 46 
        [3] =&gt; yellow[yellow] =&gt; 5 
        [4] =&gt; black[black] =&gt; 21 
        [5] =&gt; white[white] =&gt; 10 
      )
</code></pre>

<p>HoW do I read the Array just like </p>

<pre><code>red is 17
orange is 3
green is 46
yellow is 5
black is 21
white is 10
</code></pre>

<p>currently I am using foreach($thisarray as $key => $value), but it reads the way is not I am expecting.
many thanks</p>
