On Sun, Feb 04, 2001 at 04:13:55PM -0700, Ron Chmara wrote:
> Egon Schmid wrote:
> > eschmid         Sun Feb  4 14:59:51 2001 EDT
> >   Modified files:
> >     /phpdoc/en/functions        xslt.xml
> >   Log:
> >   Indentation in examples should be four spaces.
> 
> About this:
> 
> > -if (xslt_process($xslData, $xmlData, $result))
> > -{
> > +if (xslt_process($xslData, $xmlData, $result)) {
> >      echo "Here is the brilliant in-depth article on learning";
> > -}
> > -else
> > -{
> > +} else {
> >      echo "There was an error that occurred in the XSL transformation...\n";
> 
> Should we establish a standard for bracket usage? Four spaces is currently
> standardized and documented (phpdoc/README), but bracketing is not, AFAICT.

Yes it is not documented. I prefer the } else { style. 

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/

Reply via email to