Re: PHP Script Speed
| From: | Miguel Cruz | Date: | Tue, 09 Jul 2002 05:30:21 +0000 |
| Subject: | Re: PHP Script Speed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106238@lists.php.net to get a copy of this message | ||
On Mon, 8 Jul 2002, Crane, Christopher wrote:
> I hope I am explaining this well enough to understand. Doing it the newer
> way for me with the global variables makes it easier to design the web page,
> but I am wondering if it is at the cost of a slower page loading. The reason
> I think this is whenever I would like to display a variable I have to put in
> a script tag like <?PHP print $S_Current; ?>. I might have as many as 20 of
> these on a page. Every time doesn't PHP have to start again and parse out
> this information causing it to be really slow?
You would have to have hundreds of thousands of them on the page in order
for the speed difference to be noticeable to a human.
miguel