Revert "Compatibility for php 5.3"

This reverts commit 778b7e3b3046ce2ece57d46fe9f295cb09776a28.
Compatibility for php 5.3