Re: <? PHP vs. <?
| From: | Rasmus Lerdorf | Date: | Wed, 17 Jan 2001 18:54:03 +0000 |
| Subject: | Re: <? PHP vs. <? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35108@lists.php.net to get a copy of this message | ||
> > Is PHP the implied script, so that it is okay to begin PHP code like this <?
> > vs. like this <?php
> > When is it not implied?
>
> You should use <?php. In future versions the open short tag would be
> dropped or your administrator can disable the open short tag.
Well, I don't see the short tag ever being dropped actually. But yes,
<?php would be best for writing code meant to be portable.
-Rasmus