Re: concat of ""
- From: "Janwillem Borleffs" <jw@xxxxxxxxxxxxx>
- Date: Mon, 29 May 2006 22:23:24 +0200
Joerg Simon wrote:
Hi everybody,
Whis is mainly because I am curious ;) :
I just wandered which of the two following things is faster:
$var = 'much text asdlkfasdfaslkdfasl' . "\n";
or
$var = "much text asdlkfasdfaslkdfasl\n";
The first one's probably faster, because PHP doesn't have to search the
entire string for parseble content, due to the single quotes.
JW
.
- Follow-Ups:
- Re: concat of ""
- From: dimo414
- Re: concat of ""
- References:
- concat of ""
- From: Joerg Simon
- concat of ""
- Prev by Date: concat of ""
- Next by Date: Re: WTF: Cheap but reliable coder
- Previous by thread: concat of ""
- Next by thread: Re: concat of ""
- Index(es):