Re: heredoc and coding standards
| From: | Maxim Maletsky | Date: | Tue, 04 Feb 2003 01:28:40 +0000 |
| Subject: | Re: heredoc and coding standards | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25389@lists.php.net to get a copy of this message | ||
heredoc is the fastest way to get lazy. use inline php then, easier and
can use tabs, no? Tabs of 4 spaces are, normally, the most prefered.
--
Maxim Maletsky
maxim@php.net
On Mon, 3 Feb 2003 11:47:12 -0600 Rob Day <rday@tsl.state.tx.us> wrote:
> I try to write very clean code. However, there is one thing that always bugs
> me - using heredoc syntax in a function. Code in the function really should
> be indented (or 4 spaces for PEAR types), but, to quote the documentation,
> "the closing identifier must begin in the first column of the line." That
> means no tabs, right? So is that just the way it is? Do I just need to not
> worry about my tabs for heredoc? Is there some way to maintain consistency
> without breaking my code?
> -Rob
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>