It's my understanding that whitespace is ignored. I could be wrong here,
though.

--Shawn

Toby Butzon wrote:
> 
> Has using <?[space] instead of just <? as the short tag been discussed?
> 
> --Toby
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "Alexander Wagner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, January 18, 2001 4:21 PM
> Subject: Re: [PHP] <? PHP vs. <?
> 
> > On Thu, Jan 18, 2001 at 10:02:42PM +0100, Alexander Wagner wrote:
> > > [EMAIL PROTECTED] wrote:
> > > > <?     short open tag for PHP
> > > > <?php  open tag for PHP
> > > > <?xml  open tag for XML
> > > >
> > > > And for all three cases the closing tag is ?>.
> > >
> > > Wasn't there a thread on PHP-DEV about the PHP-parser mistaking <?xml
> for a
> > > short-Tag (for <?xml would be valid PHP like <?echo $var?>).
> > >
> > > Got my point?
> >
> > No, there was a discussion if we should disable the short open tag (<?)
> in
> > php.ini by default. But that would break the most PHP scripts. But anyway
> > you should use the always allowed long open tag for portable code and the
> > benefit of it would be, you can mix PHP with XML. Another point is, if
> you
> > move your scripts to a ISP who have disabled short open tags, your
> scripts
> > wouldn't work anymore.  The normal open tag was discussed in 1997 and was
> > choosen with XML in mind.
> >
> > -Egon
> >
> > --
> > http://www.linuxtag.de/
> > http://php.net/books.php
> > http://www.concert-band.de/
> > mailto:[EMAIL PROTECTED]
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Shawn Blaylock, ClipperNet Software Engineer
[EMAIL PROTECTED]
http://www.clipper.net/
Eugene OR  541-431-3360 x406
Toll Free  866-673-6260 x406

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to