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).
I know that PHP variables are declared like: $variable = array()
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.
This in Javascript
var results = new Array (13);
becomes this in PHP, am I correct?
$results = array(13);