php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41826 function chunk_split doesen't work
Submitted: 2007-06-27 15:08 UTC Modified: 2007-07-05 01:00 UTC
From: mueller at spot-media dot de Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.4.7 OS: Debian etch
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 + 3 = ?
Subscribe to this entry?

 
 [2007-06-27 15:08 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-27 15:50 UTC] tony2001@php.net
Works perfectly fine here.
 [2007-07-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed May 18 06:05:45 2022 UTC