Re: which syntax?
| From: | Richard Lynch | Date: | Sat, 27 Jan 2001 00:03:20 +0000 |
| Subject: | Re: which syntax? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36937@lists.php.net to get a copy of this message | ||
> what's the difference between using
> <?php ?> and using <? ?> and using <script language="php">
> </script>
<?php ?> always works.
<? ?> only works with "short tags" on, and XML is incompatible with it,
since it uses <?XML
<script language="php"></script> always works, but is a fair amount to type.
There is no performance/behaviour difference other than these.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm