note 5623 deleted from str_repeat by jimw

From: Date: Tue, 10 Jul 2001 02:56:15 +0000
Subject: note 5623 deleted from str_repeat by jimw
Groups: php.notes 
Request: Send a blank email to php-notes+get-15146@lists.php.net to get a copy of this message
<pre>function str_repeat($input, $mult) { $ret = ""; while ($mult > 0) { $ret .= $input; $mult --; } return $ret; } </pre> should do the same thing

« previous php.notes (#15146) next »