這些函式的行為受 php.ini 的影響。
名字 | 預設 | 可修改範圍 | 更新日誌 |
---|---|---|---|
define_syslog_variables | "0" | PHP_INI_ALL | Deprecated in PHP 5.3.0. Removed in PHP 5.4.0. |
以下是設定選項的簡要解釋。
define_syslog_variables
boolean
Whether or not to define the various syslog variables (e.g. $LOG_PID, $LOG_CRON, etc.). Turning it off is a good idea performance-wise. At runtime, you can define these variables by calling define_syslog_variables().