Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization of 'Closure' is not allowed Exception #6

Closed
akuzemchak opened this issue May 23, 2013 · 2 comments
Closed

Serialization of 'Closure' is not allowed Exception #6

akuzemchak opened this issue May 23, 2013 · 2 comments

Comments

@akuzemchak
Copy link

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!

@ircmaxell
Copy link
Owner

Fixed in the latest commit...

@akuzemchak
Copy link
Author

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants