PHP 手冊
上一頁 |  | 下一頁

# LXV.Miscellaneous Functions

# 介紹

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.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或實行時期被動態載入時有效。

`CONNECTION_ABORTED` (integer)

`CONNECTION_NORMAL` (integer)

`CONNECTION_TIMEOUT` (integer)

上一頁 | 最開頭 | 下一頁
SWFTextField | 上一層 | connection_aborted