Revert "Fixed deprecation warning for php5.5"

This reverts commit 6ca0f459274e493e6acdbe853c9ddacd3a15d1d2.