?
This document uses PHP Chinese website manual Release
Parameter Position | Type | Required | Possible Values | Default | Description |
---|---|---|---|---|---|
1 | string | No | html,htmlall,url,quotes,hex,hexentity,javascript | html | This is the escape format to use. 使用何種編碼格式。 |
This is used to html escape, url escape, escape single quotes on a
variable not already escaped, hex escape, hexentity or javascript escape.
By default, the variable is html
escaped.
用于html轉(zhuǎn)碼,url轉(zhuǎn)碼,在沒有轉(zhuǎn)碼的變量上轉(zhuǎn)換單引號,十六進制轉(zhuǎn)碼,十六進制美化,或者javascript轉(zhuǎn)碼。默認是html轉(zhuǎn)碼。
Example 5-11. escape
|