ID: 15017 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.1.1 New Comment:
Nothing, but that wasn't what he was asking for. Previous Comments: ------------------------------------------------------------------------ [2002-01-13 12:43:48] [EMAIL PROTECTED] What's wrong with str_repeat() ? ------------------------------------------------------------------------ [2002-01-13 12:42:37] [EMAIL PROTECTED] <?php $function = "foo"; for ($i = 0; $i < 4; $i++) { $function(); } ?> I don't think there is a need to add another language construct for this. Derick ------------------------------------------------------------------------ [2002-01-13 12:40:14] [EMAIL PROTECTED] You should add a Repeat(); function. In example; <? $function = "foo"; repeat($function, 4); ?> Which, will repeat "foo", 4 times. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15017&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]