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:[EMAIL PROTECTED]] 
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to