PHP 4.0 Bug #6020: str_pad with the fourth param got a warning

From: Date: Tue, 08 Aug 2000 13:17:46 +0000
Subject: PHP 4.0 Bug #6020: str_pad with the fourth param got a warning
Groups: php.dev 
Request: Send a blank email to php-dev+get-28091@lists.php.net to get a copy of this message
From: ccjeagle@ms6.hinet.net Operating system: FreeBSD4.1 PHP version: 4.0.1pl2 PHP Bug Type: Other Bug description: str_pad with the fourth param got a warning With the script: <? $str = "xyz" ; echo str_pad($str,9,"abcd",STR_PAD_BOTH) ; ?> I got a warning message: "Wrong parameter count for str_pad()" But without STR_PAD_BOTH she works fine. My php.ini is the same as php.ini-optimized. Regards.

« previous php.dev (#28091) next »