PHP 的安全模式是为了试图解决共享服务器(shared-server)安全问题而设立的。在结构上,试图在 PHP 层上解决这个问题是不合理的,但修改 web 服务器层和操作系统层显得非常不现实。因此许多人,特别是 ISP,目前使用安全模式。
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
| 版本 | 说明 | 
|---|---|
| 5.4.0 | Removed from PHP, and generates a fatal E_CORE_ERRORlevel error when enabled. | 
| 5.3.0 | Deprecated, and E_DEPRECATEDerrors were added. |