SuperClosure v2.2.0 Release Notes
Release Date: 2015-12-05 // over 8 years ago-
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
- @GrahamCampbell ๐
- @nikic ๐
- @Remo
- @CarsonF
- @msarca of the
opis/closure
project for new discussions, ideas, and motivations.
Lessons Learned
๐ > It's
ParseError
notParseException
.