[FX.php List] AddSortParam line shows 0 records
Dale Bengston
dale.bengston at gmail.com
Thu Jan 12 11:23:24 MST 2012
I would speculate - and I emphasize that this is speculation - that single quotes around strings would be marginally faster since there is no need to parse them and replace variables within, like a double-quoted string. I wonder which of these would be faster….
'Your order number is ' . $orderDate . '. Please keep this for your records.';
-or-
"Your order number is $orderDate. Please keep this for your records.";
Dale
On Jan 12, 2012, at 12:02 PM, Bob Patin wrote:
> Isn't there a speed improvement for one over the other, and if so, which is it?
>
>
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker
>
> On Jan 12, 2012, at 11:12 AM, Bob Patin wrote:
>
>> It won't matter; I've mixed and matched before and not had any trouble.
>>
>> I'm trying to get in the habit of using single-quotes now; it allows you to write things like
>>
>> $var = '<a href="mylink.htm">a link</a>';
>>
>> Because there are double-quotes inside the link, the singles are necessary...
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list