Re: cvs: phpdoc /en/reference/filesystem/functions glob.xml
| From: | Mehdi Achour | Date: | Tue, 07 Sep 2004 14:56:14 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/filesystem/functions glob.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969363859@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
In-Reply-To: <cvsdidou1094567139@cvsserver> Message-ID: <Pine.LNX.4.58.0409071633150.1996@localhost> References: <cvsdidou1094567139@cvsserver> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl X-Amavis-Alert: BAD HEADER Improper folded header field made up entirely of whitespace in message header 'Subject': On Tue, 7 Sep 2004, Mehdi Achour wrote:Mehdi Mehdididou Tue Sep 7 10:25:39 2004 EDT Modified files: /phpdoc/en/reference/filesystem/functions glob.xml Log: don't use glob in a foreachWHy not? I do that all the time and it works fine. Isn't like count() ? someone told me that it was better to store the count in a variable and use it in the foreach to avoid calling it in every loop. If I'm wrong, feel free to revert my commit !