Skip to content

SuperClosure v2.2.0

Compare
Choose a tag to compare
@jeremeamia jeremeamia released this 05 Dec 22:29
· 21 commits to master since this release

What's Changed

  • Added support for PHP 7.
  • Added support for version 2.x of @nikic's PHP Parser.
  • Added a bindTo() method to SerializableClosure to match Closure's interface.
  • Replaced vendored hash_equals() implementation with the one in symfony/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

Lessons Learned

It's ParseError not ParseException.