Fixed PHP-718: ZTS Broken in master
Merged pull request #338