?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
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)換單引號(hào),十六進(jìn)制轉(zhuǎn)碼,十六進(jìn)制美化,或者javascript轉(zhuǎn)碼。默認(rèn)是html轉(zhuǎn)碼。
Example 5-11. escape
|