如何在PHP 5.3中强制error_reporting模式

Noo*_*les 6 php deprecated ioncube

我有一些用ioncube加密的代码,它也是为<PHP 5.3编写的.有大量已弃用的代码仍然有效,但整个网站都有错误消息.

有没有办法外部强制error_reporting到E_ALL ^ E_DEPRECATED或类似?我确信在代码中他们因为某些原因难以编码到E_ALL.

Noo*_*les 1

回滚到 PHP 5.2 并避免了该问题。