Interpreter Question
| From: | Alex Law | Date: | Wed, 02 Feb 2000 14:54:39 +0000 |
| Subject: | Interpreter Question | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9679@lists.php.net to get a copy of this message | ||
Which is more efficient (less CPU cycles, etc):
a) <html>
<body>
Some HTML stuff
<?php
$x = 2;
$x++
echo("$x");
?>
</body>
</html>
OR
b) <?php
echo("<html>
<body>
Some HTML stuff");
$x = 2;
$x++;
echo("$x");
echo(" </body>
</html>");
?>