PHP variable mutation. Array passed to function becomes a 1
<p>Function call:</p>

<pre><code> $trdata .= $this-&gt;table_td($tddata, 1, $td);
</code></pre>

<p>Function:</p>

<pre><code>public function table_td($data = '', $parameters = array()){
    return($this-&gt;table_thtd($data, 0, $parameters));
}
</code></pre>

<p>A print_r before the return shows a 1, instead of the data array I'm passing. Any thoughts on what's going on?</p>
