Skip to content

Serialization of 'Closure' is not allowed Exception #6

Closed
@akuzemchak

Description

@akuzemchak

I came across this issue while trying to use this library in a small Silex application. The following line in MicroTime.php will throw an exception if there are any Closures in your debug_backtrace, as they can't be serialized:

$state .= serialize(debug_backtrace(false));

Thanks!

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