Re: File_Find patch
| From: | Jon Parise | Date: | Sat, 28 Dec 2002 18:16:32 +0000 |
| Subject: | Re: File_Find patch | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11892@lists.php.net to get a copy of this message | ||
On Sat, Dec 28, 2002 at 03:11:42PM +0530, Chandrashekhar Bhosle wrote:
There's also a small whitespace bug here:
> - while ($entry = @readdir ($dh)) {
> + while (false !== ($entry = @readdir ($dh)) {
^
There should be no space before the opening parenthesis. This would
make it consistent with the accepted style as well as the style used
later on in this file, as evidenced here:
> + while (false !== ($entry = readdir($dh)) {
[...]
> + while (false !== ($entry = @readdir($dh)) {
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)