note 8613 added to wordwrap

From: Date: Thu, 21 Sep 2000 03:27:38 +0000
Subject: note 8613 added to wordwrap
Groups: php.notes 
Request: Send a blank email to php-notes+get-5255@lists.php.net to get a copy of this message
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

« previous php.notes (#5255) next »