ID: 15017
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows
PHP Version: 4.1.1
New Comment:

<?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


Previous Comments:
------------------------------------------------------------------------

[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]

Reply via email to