Re: Should I care about these errors?
| From: | tedd | Date: | Thu, 05 Nov 2009 17:09:14 +0000 |
| Subject: | Re: Should I care about these errors? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299655@lists.php.net to get a copy of this message | ||
At 11:50 PM +1000 11/5/09, Angus Mann wrote:
OK...point taken. On a partly related matter, which of the following is "correct" or "Better" ? echo("Stuff to display..."); or echo 'Stuff to display...'; or echo "Stuff to display..."; or echo('Stuff to display...');I use: echo('Stuff to display...'); First, it easy for me to read. Second, the processor doe not evaluate the contents. However, echo 'Stuff to display...'; is probably the more "purest" route. You don't need the parenthesis. If you have a variable in the mix, then use double quotes, such as: echo("Stuff to display... $stuff"); Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com