note 82131 added to ref.strings
| From: | Salomon at osu1 dot php dot net | Date: | Fri, 28 Mar 2008 10:43:14 +0000 |
| Subject: | note 82131 added to ref.strings | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137666@lists.php.net to get a copy of this message | ||
If you want to indent a block of text with $level tabs, you can use
function str_indent($level, $text) {
return str_repeat("\t", $level).str_replace("\n",
"\n".str_repeat("\t", $level), $text);
}
----
Server IP: 212.124.37.9
Probable Submitter: 80.137.214.167
----
Manual Page -- http://www.php.net/manual/en/ref.strings.php
Edit -- https://master.php.net/note/edit/82131
Del: integrated -- https://master.php.net/note/delete/82131/integrated
Del: useless -- https://master.php.net/note/delete/82131/useless
Del: bad code -- https://master.php.net/note/delete/82131/bad+code
Del: spam -- https://master.php.net/note/delete/82131/spam
Del: non-english -- https://master.php.net/note/delete/82131/non-english
Del: in docs -- https://master.php.net/note/delete/82131/in+docs
Del: other reasons-- https://master.php.net/note/delete/82131
Reject -- https://master.php.net/note/reject/82131
Search -- https://master.php.net/manage/user-notes.php