Hi guys
Yeah I generally see the following two styles as being the same thing:
PHP Code:
function test_b()
{
}
function testb()
{
}
I know it is technically different but the braces are still on their own lines so i see it as the same thing. I've always found it easier to understand though if they're indented from the function / class delcaration. I've never liked style A as its just too hard to understand, debug and most of all deal with $end errors. I have no idea what anyone likes about that style and why so many people use it. I can work with it, but i always end up copying the code from one notepad++ tab to another, formatting it my way, working on it, formatting it back and then pasting it back in.
Hopefully the screen shots in this thread will enlighten others