#41826 [Fbk]: function chunk_split doesen't work
| From: | tony2001@php.net | Date: | Wed, 27 Jun 2007 15:50:22 +0000 |
| Subject: | #41826 [Fbk]: function chunk_split doesen't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114347@lists.php.net to get a copy of this message | ||
ID: 41826
Updated by: tony2001@php.net
Reported By: mueller at spot-media dot de
Status: Feedback
-Bug Type: Reproducible crash
+Bug Type: Strings related
Operating System: Debian etch
PHP Version: 4.4.7
New Comment:
Works perfectly fine here.
Previous Comments:
------------------------------------------------------------------------
[2007-06-27 15:38:47] scottmac@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2007-06-27 15:08:56] mueller at spot-media dot de
Description:
------------
The function chunk_split doesn't work in 4.4.7. I know it works in
4.4.4. It just returns false.
Reproduce code:
---------------
$body = "ABCDEFGHIJK";
$chunken = 2;
$end = ";";
var_dump( chunk_split($body,$chunken,$end));
Expected result:
----------------
return (string) AB;CD;EF;GH;IJ;K;
Actual result:
--------------
(bool) false
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41826&edit=1