|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-24 19:52 UTC] tony2001@php.net
[2006-04-28 05:12 UTC] moriyoshi@php.net
[2006-05-01 14:12 UTC] lana0 at zahav dot net dot il
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
Description: ------------ The next statements return FALSE (and should return 1): echo iconv_strpos('11--','1-',0,'UTF-8'); echo iconv_strpos('-11--','1-',0,'UTF-8'); .i.e it fails if the first char of a searched string comes doubled in parsed one. Reproduce code: --------------- echo iconv_strpos('11--','1-',0,'UTF-8'); echo iconv_strpos('-11--','1-',0,'UTF-8'); Expected result: ---------------- 1 2 Actual result: -------------- FALSE FALSE