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
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: 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

Pull Requests

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: Fri Dec 27 03:01:28 2024 UTC