RE: [PHP] General Coding Question
| From: | Merio, Quinn | Date: | Thu, 21 Jun 2001 15:16:21 +0000 |
| Subject: | RE: [PHP] General Coding Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54747@lists.php.net to get a copy of this message | ||
I posted the exact same question a while ago, because i know that ASP does
slow down when you jump in and out of the asp dll.
I tried benchmarking it, and asked my geekiest of geek friends. All results
thus far point to the fact that both work just as well. and imho, the
alternate syntax is a lot easier to read when switching between large blocks
of html.
q.
-----Original Message-----
From: James Stevens [mailto:jstevens@endeavors.com]
Sent: Wednesday, June 20, 2001 10:23 AM
To: php-general@lists.php.net
Subject: [PHP] General Coding Question
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed with PHP(2).
(1)
<?php
echo "<html>";
...
?>
(2)
<html>
...
<?php echo $forminput; ?>
...
Also, and this is personal preference, which is easier to read/debug?
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net