note 8613 deleted from wordwrap by torben
| From: | torben@php.net | Date: | Thu, 21 Sep 2000 06:14:52 +0000 |
| Subject: | note 8613 deleted from wordwrap by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5263@lists.php.net to get a copy of this message | ||
Here is a PHP 4.02 example
------------------------------
<?php
$a = "I want cookiesn";
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).