Re: [pear-webmaster] curly braces syntax
| From: | Pierre-Alain Joye | Date: | Fri, 10 Oct 2003 13:29:35 +0000 |
| Subject: | Re: [pear-webmaster] curly braces syntax | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-572@lists.php.net to get a copy of this message | ||
On Fri, 10 Oct 2003 15:33:00 +0200
"buteskin" <buteskin@xs4all.nl> wrote:
> Why is it that everybody like the follwowing curly braces syntax
>
> function() {
> implementations;
> }
>
> I find the following much better to read (C style)
>
> function()
> {
> implementations;
> }
The later is the correct one (if 4 spaces are used for the indent).
But this is not the right place to discuss that. And everything is
clearly define on:
http://pear.php.net/manual/en/standards.php
hth
pierre