note 69571 added to function.str-pad
| From: | rafaeljaquestudojunto at gmail dot com | Date: | Mon, 11 Sep 2006 12:43:44 +0000 |
| Subject: | note 69571 added to function.str-pad | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117011@lists.php.net to get a copy of this message | ||
Looking forward to make some dynamic tabulation, i've noticed that the output appeared twice. I
suppose that the parser recognize \t, \n and any other special character as a single character...
So.. If you need 4 tabulatins, just make...
<?php
print str_pad('',4,"\t");
?>
----
Server IP: 66.163.161.117
Probable Submitter: 201.66.131.126 (proxied: unknown)
----
Manual Page -- http://www.php.net/manual/en/function.str-pad.php
Edit -- https://master.php.net/note/edit/69571
Del: integrated -- https://master.php.net/note/delete/69571/integrated
Del: useless -- https://master.php.net/note/delete/69571/useless
Del: bad code -- https://master.php.net/note/delete/69571/bad+code
Del: spam -- https://master.php.net/note/delete/69571/spam
Del: non-english -- https://master.php.net/note/delete/69571/non-english
Del: in docs -- https://master.php.net/note/delete/69571/in+docs
Del: other reasons-- https://master.php.net/note/delete/69571
Reject -- https://master.php.net/note/reject/69571
Search -- https://master.php.net/manage/user-notes.php