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 t
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 s
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 mi
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 r
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
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
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
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 i
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 strin
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 e
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 wrot
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:
> >
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 f
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.
>>>
>>> A
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 quote
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 use
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
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 assignme
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.
> >>>
> >>> Actua
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:
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 ha
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 Th
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,
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 serv
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
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 s
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
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 t
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 i
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 mini
30 matches
Mail list logo