note 97317 deleted from function.str-repeat by degeberg

From: Date: Wed, 14 Apr 2010 09:07:58 +0000
Subject: note 97317 deleted from function.str-repeat by degeberg
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168221@lists.php.net to get a copy of this message
Note Submitter: CP309 Reason: useless ---- When i didnt know this function yet, i made my own: <?php function echo_repeat($whattoecho, $howmany = 1){ for($i=1;$i<=$howmany;$i++) echo($whattoecho); } ?> Its just the same well you can use both of the functions. I preffer that the PHP made. And yes, it uses the for() function. Good Luck!

« previous php.notes (#168221) next »