php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13284 Other behavior of chunk_split in 4.07
Submitted: 2001-09-13 09:07 UTC Modified: 2001-10-20 06:27 UTC
From: alberty at neptunlabs dot de Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0CVS-2001-09-13 OS: i686-pc-linux-gnu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alberty at neptunlabs dot de
New email:
PHP Version: OS:

 

 [2001-09-13 09:07 UTC] alberty at neptunlabs dot de
Hi,

in the current cvs version (407|408)
the following code have another result
as in PHP <=406

<?php
echo chunk_split(str_repeat('x',1024),100);
?>

chunk_split dont split the strings if a 
split size is given.

Without the splitsize, ...
<?php
echo chunk_split(str_repeat('x',1024));
?>
... chunk_split works correct.


Regards,

-- 
Steve

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 06:02 UTC] sander@php.net
Works fine for me on 4.1.0RC1.
 [2001-10-20 06:27 UTC] derick@php.net
Indeed, I commited a fix for this some time ago.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC