Welcome Guest, Not a member yet? Register   Sign In
PHP double quotes versus single quotes
#6

[eluser]brianw1975[/eluser]
[quote author="jedd" date="1250056199"]I'm with Adam - I use "these things" everywhere, possibly purely for historical reasons (every language I've used before, prefers quotes). I never use embedded variables within quoted strings, so the benefits of whichever ones let you do that aren't of interest to me. I have started to use apostrophes around array keys (eg. $value['foo']) because I think it looks a bit neater, but it's purely an aesthetic thing at that point.

Really, though, I'm hugely envious if you've explored all other avenues for optimising your algorithms and data structures, your schema and database queries, and are now focusing on the near-immeasurable differences between apostrophes and quotation marks in an attempt to squeeze out an extra dribble of performance from your system. Wink[/quote]


Agreed. Honestly, if you have that many double and single quotes in your software that it's hampering rendering then I can only think of 1 thing to be the major problem....

Get rid of the 286 you are running your server on and upgrade the hardware!


Messages In This Thread
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 03:50 PM
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 04:15 PM
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 04:47 PM
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 06:23 PM
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 06:49 PM
PHP double quotes versus single quotes - by El Forum - 08-11-2009, 07:40 PM
PHP double quotes versus single quotes - by El Forum - 08-12-2009, 05:45 AM
PHP double quotes versus single quotes - by El Forum - 08-12-2009, 06:15 AM
PHP double quotes versus single quotes - by El Forum - 08-12-2009, 10:41 AM
PHP double quotes versus single quotes - by El Forum - 08-12-2009, 11:19 AM
PHP double quotes versus single quotes - by El Forum - 08-12-2009, 11:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB