Re[2]: [PHP] Code optimization: single vs. double quotes?

From: Date: Tue, 28 Oct 2003 04:46:48 +0000
Subject: Re[2]: [PHP] Code optimization: single vs. double quotes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167846@lists.php.net to get a copy of this message
Hi, Tuesday, October 28, 2003, 9:26:13 AM, you wrote: CWP> Curt Zirzow <mailto:php-general@zirzow.dyndns.org> CWP> on Monday, October 27, 2003 3:16 PM said: >> 5. no newline after the tr. :) >> >> There are some broswer issues with tr and td's not being on the >> same line. CWP> Ok I resisted sending this earlier but it appears it is now necessary. CWP> ;) CWP> Here is how I WOULD have written that line had it been in my own code. CWP> (Minus some CSS that could be put in.) CWP> echo "<table>\n" CWP> ." <tr>\n" CWP> ." <td class=\"row_bright\">$somevalue</td>\n" CWP> ." </tr>\n" CWP> ."</table>\n"; I find the . operator to be very slow with strings :) (slow being relative of course) -- regards, Tom

« previous php.general (#167846) next »