PHP7 Project. Commit 16. Fixed a deprecated constructors.