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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Dec 21 16:01:28 2024 UTC