Is there a PHP equivalent of "new Array (number)" in javascript?
<p>I was trying to convert basic javascript function into PHP, and I saw that one of the variables was declared var Variable = new Array (13).</p>

<p>I know that PHP variables are declared like: $variable = array()</p>

<p>but what about the "13" in new Array(13)? does that translate to $variable = array(13)? I've tried that but it didn't seem to work.</p>

<p>This in JavaScript</p>

<pre><code>var results = new Array (13);
</code></pre>

<p>becomes this in PHP, am I correct?</p>

<pre><code>$results = array(13);
</code></pre>
