Re: [PHP] php style guides

2005-01-12 Thread Jochem Maas
Tim Burgan wrote: Hi everyone, What 'rules' do you follow about styling/formatting your PHP code? Do you follow a guide that is available online? I generally have my own preference for formatting like if ( condition ) { statements; } which personally I think is ugly and a waste of space ;-) (a

Re: [PHP] php style guides

2005-01-12 Thread Zouari Fourat
try http://pear.php.net/manual/en/standards.php On Wed, 12 Jan 2005 23:34:59 +1030, Tim Burgan <[EMAIL PROTECTED]> wrote: > Hi everyone, > > What 'rules' do you follow about styling/formatting your PHP code? Do > you follow a guide that is available online? > > I generally have my own preferenc

[PHP] php style guides

2005-01-12 Thread Tim Burgan
Hi everyone, What 'rules' do you follow about styling/formatting your PHP code? Do you follow a guide that is available online? I generally have my own preference for formatting like if ( condition ) { statements; } for all conditional statements and loops, as opposed to if (condition) { st