|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-07 09:40 UTC] sniper@php.net
[2005-10-11 16:00 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 03:00:01 2025 UTC |
Description: ------------ For some "small"(or empty) stringes iconv_substr produce error when try to use offset > strlen Reproduce code: --------------- <?php $x = iconv_substr("a",3,2); var_dump($x); ?> Expected result: ---------------- bool(false) Actual result: -------------- PHP Notice: iconv_substr(): Unknown error (0) in C:\temp\1.php on line 2 Notice: iconv_substr(): Unknown error (0) in C:\temp\1.php on line 2 bool(false)