Skip to content

Arrays in PHP always objects in JSON #11

Description

@vdeurzen

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions