These functions were placed here because none of the other
categories seemed to fit.
本增加模組作為 PHP 內核的一部分,無需安裝即可使用。
這些函數的行為受 php.ini 的影響。
表格 1. Misc. Configuration Options
Name | Default | Changeable | Changelog |
---|
ignore_user_abort | "0" | PHP_INI_ALL | |
highlight.string | "#DD0000" | PHP_INI_ALL | |
highlight.comment | "#FF8000" | PHP_INI_ALL | |
highlight.keyword | "#007700" | PHP_INI_ALL | |
highlight.bg | "#FFFFFF" | PHP_INI_ALL | |
highlight.default | "#0000BB" | PHP_INI_ALL | |
highlight.html | "#000000" | PHP_INI_ALL | |
browscap | NULL | PHP_INI_SYSTEM | |
有關 PHP_INI_* 常量進一步的細節與定義參見
附錄 G。
以下是配置選項的簡要解釋。
- ignore_user_abort
boolean
TRUE by default. If changed to FALSE scripts will be terminated
as soon as they try to output something after a client has aborted
their connection.
See also ignore_user_abort().
- highlight.bg
string, highlight.comment
string, highlight.default
string, highlight.html
string, highlight.keyword
string, highlight.string
string
Colors for Syntax Highlighting mode. Anything that's acceptable in
<font color="??????"> would work.
- browscap
string
Name (e.g.: browscap.ini) and location of browser
capabilities file. See also get_browser().
以下常量由本增加模組定義,因此只有在本增加模組被編譯到
PHP 中,或是在運行時被動態加載後才有效。