Re: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-10 Thread Stig S. Bakken
But historically, tabs were are also rendered on screen as 8 spaces. This is no longer true, since tabs are often 4 spaces by default. And for this very reason, today it is better to use spaces because that is the _only_ way to format code so it looks the same in less, Emacs, joe, vi, MSVC, Zend

RE: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread James Cox
As this was crossposted to phpdoc, I consider it a question for phpdoc too. We use one space for XML indentation and 4 spaces for PHP codes in examples, no tabs. This is for phpdoc. And it is documented in the phpdoc howto. Yes, i wanted to explicitly check each.

Re: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Gabor Hojtsy
have we ever decided on this? in our code do we go for tabs or spaces? Is there a style guide anywhere on this? Tabs, they've been used historically. As this was crossposted to phpdoc, I consider it a question for phpdoc too. We use one space for XML indentation and 4 spaces for PHP codes in