I was trying to convert the original javascript function to PHP, and I saw that a variable was declared < Code> var Variable = new array (13) .
I know that the PHP variable has been declared: but what about this In this JavaScript, It gets in PHP, am I right? You do not really need to select ARLs in PHP, but you can do something like this: This will create an array with 13 elements (index 0 to 12), whose value is $ variable = array ()
new array ( 13) "13" in ? Which translates to
$ variable = array (13) ? I tried but it did not seem to work.
var results = new array (13);
$ results = array (13); In fact, in this context, you are creating an array of shapes
$ result = array_fill (0, 12, zero) ;
null .
Comments
Post a Comment