RE: [PHP] Script optimisation
| From: | Simon Taylor | Date: | Wed, 16 Oct 2002 09:06:17 +0000 |
| Subject: | RE: [PHP] Script optimisation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120144@lists.php.net to get a copy of this message | ||
Tony,
I am not sre which is faster, but I am pretty sure you wouldn't be able to
measure it in milliseconds..
Cheers
Simon
-----Original Message-----
From: Tony Crockford [mailto:tonyc@boldfish.co.uk]
Sent: 16 October 2002 10:48
To: Php-General@Lists. Php. Net
Subject: [PHP] Script optimisation
Hi,
I'm sure this is an RTFM, but I'm not sure where I should be looking.
is it quicker for PHP to execute <? echo $var ?> in blocks of html or to
echo all of the html and only have one <? and ?>
I'm using a PHP script to write a lot of html files to hard disk and the
script execution time is climbing beyond the maximum set in PHP.ini (I've
changed the setting, but...)
I'm looking to shave milliseconds of each execution, any ideas, pointers or
tutorials you could point me to.
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php