Skip to content

Serialization of 'Closure' is not allowed #451

Description

@willmot

Although $GLOBAL Closures are no longer serialised since 01aa347 & #352 a $GLOBAL array which contain a Closure as a value will still cause the "Serialization of 'Closure' is not allowed" error.

$GLOBALS[] = array( 'foo' => function() { return 'bar'; }  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions