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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mueller at spot-media dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 10:01:30 2024 UTC