#28798 [Opn->Csd]: Documentation of strcspn() and strspn() is incorrect
| From: | vrana@php.net | Date: | Wed, 16 Jun 2004 08:30:38 +0000 |
| Subject: | #28798 [Opn->Csd]: Documentation of strcspn() and strspn() is incorrect | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361393@lists.php.net to get a copy of this message | ||
ID: 28798
Updated by: vrana@php.net
Reported By: ilia@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: n/a
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:
------------------------------------------------------------------------
[2004-06-15 18:50:14] ilia@php.net
Description:
------------
As of PHP 4.0B1 both functions are binary safe.
Additionally both functions accept 2 optional integer
parameters that can be used to define the starting position
and the length of the string to examine.
ex.
strspn("foo", "o", 1, 2); == strspn(substr("foo", 1, 2),
"o");
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28798&edit=1