PHP 4.0 Bug #6131 Updated: str_pad does not accept optional fourth parameter
| From: | sniper@php.net | Date: | Sat, 10 Mar 2001 03:00:15 +0000 |
| Subject: | PHP 4.0 Bug #6131 Updated: str_pad does not accept optional fourth parameter | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48562@lists.php.net to get a copy of this message | ||
ID: 6131
Updated by: sniper
Reported By: billn@gct-us.com
Old-Status: Duplicate
Status: Closed
Bug Type: Documentation problem
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-08-12 17:47:26] billn@gct-us.com
str_pad does not accept optional fourth parameter. Adding STR_PAD_LEFT or any fourth parameter
causes
Warning: Wrong parameter count for str_pad() error
Example script:
$emailpass=str_pad($emailpass, 12, " ", STR_PAD_LEFT);
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6131&edit=2