SuperClosure v2.2.0
What's Changed
- Added support for PHP 7.
- Added support for version 2.x of @nikic's PHP Parser.
- Added a
bindTo()
method toSerializableClosure
to match Closure's interface. - Replaced vendored
hash_equals()
implementation with the one insymfony/polyfill-php56
. - Fixed an issue that caused the "class" value of some closures' locations to be reported incorrectly.
- Fixed an issue with some edge cases related the closure binding and scope during unserialization.
- Fixed an unserialization issue where SuperClosures in user variables were not being unboxed.
- Improved error handling in the
Serializer
when the data being unserialized is invalid.
Credits
- Top Contributors
- @msarca of the
opis/closure
project for new discussions, ideas, and motivations.
Lessons Learned
It's
ParseError
notParseException
.