Serialization of 'Closure' is not allowed Exception
akuzemchak opened this issue · 2 comments
akuzemchak commented
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 commented
Fixed in the latest commit...
akuzemchak commented
Awesome, thank you!