note 11706 added to strlen
| From: | marcio at ribeiro dot as | Date: | Sat, 03 Mar 2001 02:38:45 +0000 |
| Subject: | note 11706 added to strlen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11808@lists.php.net to get a copy of this message | ||
Try that instead ignoring the error:
<?
$tmp=0; $s="blah";
while($tmp<strlen($s) && $c=$s[$tmp++]) { echo $c; }
?>
http://www.php.net/manual/en/function.strlen.php