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 <code>var Variable = new Array (13)</code>.</p>

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

<p>but what about the "13" in <code>new Array(13)</code>? does that translate to <code>$variable = array(13)</code>? 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>
