Which way is better?
| From: | Ben Cheng | Date: | Fri, 09 May 2003 01:00:23 +0000 |
| Subject: | Which way is better? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146949@lists.php.net to get a copy of this message | ||
Is it better to code this way:
<?
if ($option == 1) {
echo "Blah blah.";
}
?>
or:
<? if ($option == 1) { ?>
Blah blah.
<? } ?>
Is there a performance difference or just a matter of readability?
-Ben