When returning an array from a PHP function, exposed to SpiderMonkey, the array is turned into a JSON object, rather than an array. Regardless of whether we are returning an associative or numeric array.
Is there any fix for this available currently or is it expected / correct behaviour?
When returning an array from a PHP function, exposed to SpiderMonkey, the array is turned into a JSON object, rather than an array. Regardless of whether we are returning an associative or numeric array.
Is there any fix for this available currently or is it expected / correct behaviour?