<snip="100%">
Call me old-fashioned, old, or a bastard, but I still prefer:
for($i=0;$i<count($whatever);$i++) { }
For what do I need to remember the name of the counter increment?
Not only do I not care what it's name is, because it's disposable at
that moment, but I won't even be reusing it. And not just because I
won't be reusing it --- I can't reuse it. Another reason not to care.
Secondly, while Nate R. makes an excellent point about placing
some documentation in the head of the script, I still find that some
of my favorite characters often go far underused. And they are:
//
#
/* and */
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php