Re: note 8613 added to wordwrap

From: Date: Wed, 20 Sep 2000 18:09:45 +0000
Subject: Re: note 8613 added to wordwrap
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-5258@lists.php.net to get a copy of this message
jzago@ifhamy.insa-lyon.fr writes: > Here is a PHP 4.02 example > ------------------------------ > <?php > $a = "I want cookies\n"; > echo $a; > $b = wordwrap ($a, 7); > echo $a; > ?> > ^D > I want cookies > I want > cookies > ------------------------------ > I would have expected to get "I want cookies" twice (notice I echo $a not $b). > > http://www.php.net/manual/function.wordwrap.php I'm afraid I cannot reproduce this using PHP 4.0.3-dev. At any rate, bug reports should go into the Bug Database, at http://bugs.php.net (just search the database first to make sure the bug hasn't already been reported). -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.notes (#5258) next »