[PHP-DEV] Bug #13284: Other behavior of chunk_split in 4.07 From: alberty <email protected>
Date: 09/13/01

From: alberty <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>