ID: 42796
Updated by: [EMAIL PROTECTED]
Reported By: kraghuba at in dot ibm dot com
-Status: Open
+Status: Closed
Bug Type: Strings related
Operating System: windows/linux
PHP Version: 5CVS-2007-09-29 (snap)
New Comment:
Fixed among couple of dozen other ones.
Previous Comments:
------------------------------------------------------------------------
[2007-09-29 10:12:47] kraghuba at in dot ibm dot com
Description:
------------
The warning message generated by chunk_split() when chunk_len is given
as negative value contains an extra dot (.) char.
applicable to php5 only.
Reproduce code:
---------------
<?php
var_dump( chunk_split("string", -1, ", ") );
?>
Expected result:
----------------
Warning: chunk_split(): Chunk length should be greater than zero in %s
on line %d
bool(false)
Actual result:
--------------
Warning: chunk_split(): Chunk length should be greater than zero. in %s
on line %d
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42796&edit=1