Re: Re[2]: [PHP] HELP: Nested include(...)'s take relative paths not intuitively
| From: | Adam Bregenzer | Date: | Wed, 11 Feb 2004 00:38:03 +0000 |
| Subject: | Re: Re[2]: [PHP] HELP: Nested include(...)'s take relative paths not intuitively | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177332@lists.php.net to get a copy of this message | ||
On Tue, 2004-02-10 at 19:06, Richard Davey wrote:
> This is slightly off-topic, but related to the include() function.
> What is the given "standard" regarding when you should or shouldn't
> use braces on a function.
[snip]
> Both work just fine. The manual includes examples of both methods. So
> which do most people consider "the right way" ?
I always use parens on function calls, I think it is more readable.
Also, some syntax highlighters look for it.
--
Adam Bregenzer
adam@bregenzer.net
http://adam.bregenzer.net/