#50235 [Opn->Csd]: pad_length in str_pad() less than OR EQUAL

From: Date: Thu, 19 Nov 2009 17:08:29 +0000
Subject: #50235 [Opn->Csd]: pad_length in str_pad() less than OR EQUAL
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3250@lists.php.net to get a copy of this message
 ID:               50235
 Updated by:       danbrown@php.net
 Reported By:      shelby at coolpage dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2009-11-19 17:08:16] svn@php.net

Automatic comment from SVN on behalf of danbrown
Revision: http://svn.php.net/viewvc/?view=revision&revision=291014
Log: Incorporates suggested text from Bug #50235.

------------------------------------------------------------------------

[2009-11-19 16:36:55] shelby at coolpage dot com

Description:
------------
The official manual documentation of str_pad(), states:

http://www.php.net/manual/en/function.str-pad.php

"If the value of pad_length  is negative or less than the length of the
input string, no padding takes place."

Should be changed to:

If the value of pad_length is negative, equal, or less than the length
of the input string, no padding takes place.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50235&edit=1



Thread (2 messages)

« previous php.doc.bugs (#3250) next »