note 22610 added to function.str-repeat

From: Date: Tue, 25 Jun 2002 07:06:41 +0000
Subject: note 22610 added to function.str-repeat
Groups: php.notes 
Request: Send a blank email to php-notes+get-32164@lists.php.net to get a copy of this message
Note that the first argument is parsed only once, so it's impossible to do things like this: echo str_repeat(++$i, 10); The example will produce 10 times the value of $i+1, and will not do a cycle from $i to $i+10. -- http://www.php.net/manual/en/function.str-repeat.php http://master.php.net/manage/user-notes.php?action=edit+22610 http://master.php.net/manage/user-notes.php?action=delete+22610 http://master.php.net/manage/user-notes.php?action=reject+22610

« previous php.notes (#32164) next »