Re: Preferred Syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 14, 2011, at 12:09 PM, Peter Ford wrote:
> 
> With respect to tedd and Al, you've misread the question: the important PHP-related bit is about whether to embed variables in double-quoted strings or to concatenate them. These are only two of the options, and each has it's pros and cons. There has been (some time ago) plenty of discussion on this list about this sort of thing, including (ISTR) a timed test of the performance implications of various forms - that only really matters in big loops, of course...
> 
> Horses for courses. I use whatever I feel like at the time, and mix various styles, as long as it's readable!
> 
> Cheers
> Pete
> 

I didn't misread the OP's post. Realize that the OP provided two ways of doing the task and asked which way was best?

I responded with a recommendation to remove all style elements and my recommended solution to his problem.

He can either consider or not.

Cheers,

tedd

_____________________
tedd@xxxxxxxxxxxx
http://sperling.com




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux