PHP 4.0 Bug #6131: str_pad does not accept optional fourth parameter

From: Date: Sat, 12 Aug 2000 21:47:26 +0000
Subject: PHP 4.0 Bug #6131: str_pad does not accept optional fourth parameter
Groups: php.dev 
Request: Send a blank email to php-dev+get-28724@lists.php.net to get a copy of this message
From: billn@gct-us.com Operating system: Freebsd PHP version: 4.0.1pl2 PHP Bug Type: Documentation problem Bug description: str_pad does not accept optional fourth parameter 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);

« previous php.dev (#28724) next »