Disable deprecation warnings in PHP