#42796 [Opn->Csd]: warning message generated by chunk_split() contains extra dot (.) char
| From: | jani@php.net | Date: | Sun, 30 Sep 2007 05:40:43 +0000 |
| Subject: | #42796 [Opn->Csd]: warning message generated by chunk_split() contains extra dot (.) char | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117969@lists.php.net to get a copy of this message | ||
ID: 42796
Updated by: jani@php.net
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