介绍
These functions were placed here because none of the other
categories seemed to fit.
安装
这些函数作为 PHP 核心的一部分,无需被安装即可使用。
运行时配置
这些函数的行为受到全局配置文件 php.ini 的影响。
表格 1. Misc. Configuration Options
Name | Default | Changeable |
---|
ignore_user_abort | "0" | PHP_INI_ALL |
highlight.string | #DD0000 | PHP_INI_ALL |
highlight.comment | #FF9900 | 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 |
For further details and definition of the PHP_INI_* constants see
ini_set().
以下是该配置选项的简要解释。
- 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.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 中,或者在运行时被动态加载后,这些常量才有效。