Doesn anyone know of any documention on proper PHP coding guidlines? I'm writing some a tutorial on PHP for some friends, and can't find any 'official' documentation on what is correct.
The main guidline I'm looking for is sublevel spacing.
What I mean by this is when you begin an if/when/while statement, the next line of code is indented. I many different programmers. Some use 2 spaces, some use 4, and some use a tab.
What I need is documentation on what PHP is intended to have. I tried the WWW Consortium (www.w3.org), and they had nothing.
Can anyone help?
Thanks,
Jason