?
このドキュメントでは、 php中國語ネットマニュアル リリース
Parameter Position | Type | Required | Default | Description |
---|---|---|---|---|
1 | integer | No | 4 | This determines how many characters to indent to. 決定縮進(jìn)多少個(gè)字符。 |
2 | string | No | (one space) | This is the character used to indent with.使用什么字符來代替縮進(jìn)。 |
This indents a string at each line, default is 4. As
an optional parameter, you can specify the number of characters to
indent. As an optional second parameter, you can specify the
character to use to indent with. (Use "\t" for tabs.)
在每行縮進(jìn)字符串,默認(rèn)是4個(gè)字符。
作為可選參數(shù),你可以指定縮進(jìn)字符數(shù)。
作為第二個(gè)可選參數(shù),你可以指定縮進(jìn)用什么字符代替。
特別提示:使用縮進(jìn)時(shí)如果是在HTML中,則需要使用& n b s p;(空格)來代替縮進(jìn),否則沒有效果。
Example 5-12. indent
|