Robert Cummings írta:
On Sat, 2008-03-29 at 10:16 +0100, Zoltán Németh wrote:
One last thing though...
even if this were escaped and even if there were fifty variables
embedded, a good bytecode optimizer (not quite the same as a bytecode
cacher) would optimize the bytecode for caching so that
2008. 03. 28, péntek keltezéssel 10.59-kor Robert Cummings ezt írta:
On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote:
2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
yeah maybe. you're right, the
2008. 03. 28, péntek keltezéssel 11.31-kor tedd ezt írta:
At 9:14 AM +0100 3/28/08, Zoltán Németh wrote:
This way for literal strings, the PHP parser doesn't have to evaluate
this string to determine if anything needs to be translated (e.g.,
$report .= I like to $foo). A minimal
On Sat, 2008-03-29 at 10:16 +0100, Zoltán Németh wrote:
One last thing though...
even if this were escaped and even if there were fifty variables
embedded, a good bytecode optimizer (not quite the same as a bytecode
cacher) would optimize the bytecode for caching so that the string is
2008. 03. 27, csütörtök keltezéssel 11.13-kor Jason Pruim ezt írta:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all
2008. 03. 27, csütörtök keltezéssel 09.29-kor Philip Thompson ezt írta:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some
rather large html strings and they aways take far less time than the
transient time on the internet. I used to
2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta:
2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened
Eric Butera wrote:
On Thu, Mar 27, 2008 at 12:41 PM, Peter Ford [EMAIL PROTECTED] wrote:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's
On Fri, 2008-03-28 at 09:14 +0100, Zoltán Németh wrote:
2008. 03. 27, csütörtök keltezéssel 09.29-kor Philip Thompson ezt írta:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some
rather large html strings and they aways take far less
On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote:
2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta:
2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
2008. 03. 28, péntek keltezéssel 09.00-kor Robert Cummings ezt írta:
On Fri, 2008-03-28 at 09:31 +0100, Zoltán Németh wrote:
2008. 03. 28, péntek keltezéssel 09.19-kor Zoltán Németh ezt írta:
2008. 03. 27, csütörtök keltezéssel 10.21-kor Shawn McKenzie ezt írta:
Jason Pruim wrote:
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
yeah maybe. you're right, the bytecode is the same. but somewhere I
heard that the parsing is the same too - because escaped characters can
be in any string, though I'm not that sure about this anymore, as my
link proved something else
2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
yeah maybe. you're right, the bytecode is the same. but somewhere I
heard that the parsing is the same too - because escaped characters can
be in any string,
On Fri, 2008-03-28 at 15:30 +0100, Zoltán Németh wrote:
2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
yeah maybe. you're right, the bytecode is the same. but somewhere I
heard that the parsing is the same
At 9:14 AM +0100 3/28/08, Zoltán Németh wrote:
This way for literal strings, the PHP parser doesn't have to evaluate
this string to determine if anything needs to be translated (e.g.,
$report .= I like to $foo). A minimal speedup, but nonetheless...
that above statement is simply not
At 10:59 AM -0400 3/28/08, Robert Cummings wrote:
Nope, when processing a single quoted string there should be 4 available
parse branches:
EOF
'(end of string)
\
EOF
\
'
anything else
anything else
Whereas with a double quoted string you have
My method was.
Store into global thingy. Then echo very end of the page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Mar 27, 2008 at 7:28 AM, Al [EMAIL PROTECTED] wrote:
Depends on the server and it's load. I've strung together some rather
large html strings and they
aways take far less time than the transient time on the internet. I used
to use OB extensively until
one day I took the time to
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some
rather large html strings and they aways take far less time than the
transient time on the internet. I used to use OB extensively until
one day I took the time to measure the difference. I
Good point. I usually do use the single quotes, just happened to key doubles
for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some rather
large html
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al
Shawn McKenzie wrote:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26,
At 10:21 AM -0500 3/27/08, Shawn McKenzie wrote:
I would assume your 2 examples to be the same because the point is that
the PHP interpreter must parse for vars to substitute when it encounters
double-quotes whether there are any vars in it or not. With
single-quotes the interpreter does not
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al wrote:
On Thu, Mar 27, 2008 at 12:41 PM, Peter Ford [EMAIL PROTECTED] wrote:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for
You are really asking an HTML question, if you think about it.
At the PHP level, either use output buffering or assemble all your html string as a variable and
then echo it. The goal is to compress the string into the minimum number of packets.
Alain Roger wrote:
Hi,
i would like to know
On Wed, Mar 26, 2008 at 1:18 PM, Al [EMAIL PROTECTED] wrote:
You are really asking an HTML question, if you think about it.
At the PHP level, either use output buffering or assemble all your html
string as a variable and
then echo it. The goal is to compress the string into the minimum
Depends on the server and it's load. I've strung together some rather large html strings and they
aways take far less time than the transient time on the internet. I used to use OB extensively until
one day I took the time to measure the difference. I don't recall the numbers; but, I do recall
31 matches
Mail list logo