* Tim Burgan [EMAIL PROTECTED]:
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
PEAR standards are fairly well-accepted:
http://pear.php.net/manual/en/standards.php
I generally have my own preference for formatting like
if
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?
sacred_cow_warningPlease do not flame me here, different strokes for
different folks!/sacred_cow_warning
If you're entirely new to coding in PHP ...
Jason Barnett wrote:
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?
sacred_cow_warningPlease do not flame me here, different strokes for
different folks!/sacred_cow_warning
:-)
...
And that's
Something I've laboured over for years, in various languages (same issue
in perl, ASP, JSP...).
My personal preference depends on how much of what is being dumped. If
it's a really simple page, then do it in line, I tend to indent it as a
seperate tree to the php code (ie there are two
4 matches
Mail list logo