Ocramius/Instantiator — pull request #8 by Ocramius (2014-06-29 04:34:45+00:00)
Title: PHP 5.4.30 5.5.14 compat

This patch allows instantiation of internal classes even though they don't allow custom un-serialization.

Hereby, we simply extend those classes and override their constructors.

TODOs:

- [ ] check security implications
- [ ] check for other internal classes with this problem
- [ ] check for `final` in either the class or the constructor of the class