Doc #54904 [Opn->Csd]: strspn function

From: Date: Tue, 24 May 2011 19:34:03 +0000
Subject: Doc #54904 [Opn->Csd]: strspn function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6652@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54904&edit=1 ID: 54904 Updated by: salathe@php.net Reported by: bertkrol at planet dot nl Summary: strspn function -Status: Open +Status: Closed Type: Documentation Problem Package: Strings related Operating System: OSX PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: That is correct, though the documentation already tells you that. Either way, I've made a few very small changes to hopefully clarify the behaviour. Previous Comments: ------------------------------------------------------------------------ [2011-05-24 21:31:16] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=311396 Log: emphasize initial/start importance for strspn (re doc #54904) ------------------------------------------------------------------------ [2011-05-22 16:20:10] bertkrol at planet dot nl Description: ------------ the strspn function only works if the first part of the string to be matched exists of the same character set as the mask. Example strspn('123','123') gives 3 strspn ('a123','123') gives 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54904&edit=1

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