Skip to content

Array to string conversion, if an epty array met. #108

Closed
@raincity19

Description

@raincity19

Hello, i have a large multidimentional array to be converted into the EDI format. Whenever it includes an empty array inside, i'v got the error: Array to string conversion.
What would be the correct way to work with it?

$encoder = new Encoder( $myArray, true);
$EDIformat = $encoder->get();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions