©
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转码,url转码,在没有转码的变量上转换单引号,十六进制转码,十六进制美化,或者javascript转码。默认是html转码。
Example 5-11. escape
|