On Sun, Feb 04, 2001 at 11:33:12PM -0000, James Moore wrote:
>
> > Yes it is not documented. I prefer the } else { style.
>
> Personally I like
>
> if ($foo)
> {
> ....
> } else
> {
> ...
> }
>
> or
>
> if ($foo)
> {
> ....
> }
> else
> {
> ...
> }
>
> then all braces are in same col.
But this doesn't fit into the scheme of the examples we have already in
the manual. When I parse the source code I don't see such a malformed
syntax. Ok, someone have used it...
-Egon
--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/
http://www.php-buch.de/
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Sterling Hughes
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Sebastian Bergmann
- Re: [PHP-DOC] cvs: phpdoc /en/functions xslt... Derick Rethans
- Re: [PHP-DOC] cvs: phpdoc /en/functions ... Sebastian Bergmann
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Egon Schmid
- Re: [PHP-DOC] cvs: phpdoc /en/functions xslt... Ron Chmara
- Re: [PHP-DOC] cvs: phpdoc /en/functions ... eschmid+sic
- RE: [PHP-DOC] cvs: phpdoc /en/functi... James Moore
- RE: [PHP-DOC] cvs: phpdoc /en/f... eschmid+sic
- RE: [PHP-DOC] cvs: phpdoc /... James Moore
- Re: [PHP-DOC] cvs: phpd... eschmid+sic
- Re: [PHP-DOC] cvs: phpd... Ron Chmara
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Rasmus Lerdorf
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions xslt.xml Sterling Hughes
- [PHP-DOC] Re: cvs: phpdoc /en/functions xslt... Jim Winstead
