Bug #13284: Other behavior of chunk_split in 4.07
| From: | alberty at neptunlabs dot de | Date: | Thu, 13 Sep 2001 13:07:34 +0000 |
| Subject: | Bug #13284: Other behavior of chunk_split in 4.07 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65872@lists.php.net to get a copy of this message | ||
From: alberty@neptunlabs.de
Operating system: i686-pc-linux-gnu
PHP version: 4.0CVS-2001-09-13
PHP Bug Type: Strings related
Bug description: Other behavior of chunk_split in 4.07
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
--
Edit bug report at: http://bugs.php.net/?id=13284&edit=1