Date: 01/03/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8425 Updated: PHP crashes if I include a page that uses xml parser."
- Previous message: Stefan Fiedler: "[PHP-DEV] (Fwd) [PHP-DEV] PHP 4.0 Bug #8425: PHP crashes if I include a"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
Is it possible to create a user-defined function in a module that does
something like this:
$i=0;
module_loop($i) {
// repeats this X times
echo module_echo();
}
? And if so, how do I do it?
And if it is possible, can I also create something like
module_loop($i) {
echo module_echo();
}
else {
echo "module_loop failed for some reason, so I will do something else";
}
Cheerio, Marc (prepared to be disappointed :-)
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8425 Updated: PHP crashes if I include a page that uses xml parser."
- Previous message: Stefan Fiedler: "[PHP-DEV] (Fwd) [PHP-DEV] PHP 4.0 Bug #8425: PHP crashes if I include a"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

