note 47087 deleted from function.str-pad by danbrown
| From: | danbrown@php.net | Date: | Sat, 02 Jul 2011 18:56:23 +0000 |
| Subject: | note 47087 deleted from function.str-pad by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181197@lists.php.net to get a copy of this message | ||
Note Submitter:
----
I just looked at bob[at]bobarmadillo[dot]coms version of str_pad and notice that he dint take into
account the length of the padded string. He's assumed this is a single character, which the
examples show it to be a string of characters.