Re: <? PHP vs. <?
| From: | Philip Olson | Date: | Wed, 17 Jan 2001 20:32:19 +0000 |
| Subject: | Re: <? PHP vs. <? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35138@lists.php.net to get a copy of this message | ||
> Short open tags won't work with xml. Therefore they won't work with
> xhtml. They conflict with where the Web is going.
Aha! Yet another reason not to use <?=
:-)
philip
On Thu, 18 Jan 2001, Michael Talbot-Wilson wrote:
> Ye 2001-01-17 13:54 -0500, Toby Butzon skribis:
>
> > > > 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.
> >
> > Are there in fact plans to drop the short tags?
>
> Short open tags won't work with xml. Therefore they won't work with
> xhtml. They conflict with where the Web is going.
>
> Thus, they have already been dropped. You don't _need_ them. Stay
> away from them.
>
>
>
> --
> 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
>