|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-02 11:35 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
Description: ------------ strcspn() when passed with an empty mask string, returns the length of the input string (first arg) with unicode off on PHP6 whereas returns ZERO with unicode ON which is not correct behaviour. Reproduce code: --------------- <?php var_dump( strcspn("abcde","") ); ?> Expected result: ---------------- int(5) Actual result: -------------- int(0)