ID: 28798 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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