Re: <? PHP vs. <?
| From: | eschmid+sic at s dot netic dot de | Date: | Thu, 18 Jan 2001 21:01:36 +0000 |
| Subject: | Re: <? PHP vs. <? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35446@lists.php.net to get a copy of this message | ||
On Thu, Jan 18, 2001 at 09:51:52PM +0100, Alexander Wagner wrote:
> eschmid+sic@s.netic.de wrote:
> > > > xml problems?
> > > >
> > > > _what_ xml problems?
> > >
> > > <?xml is considered a short-tag or something like that.
> >
> > No, <? is the short opening tag and is only valid for PHP with the short
> > open tag enabled in php.ini.
>
> I meant that with short-tags on, <?xml will be considered a short-Tag,
> because it begins like one, although it's just plain XML and has nothing to
> do with PHP.
<? short open tag for PHP
<?php open tag for PHP
<?xml open tag for XML
And for all three cases the closing tag is ?>.
-Egon
--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/
mailto:linuxtag-subscribe@php-homepage.de