[horde] Enabling use of short tags in PHP code breaks XML.
Brian Winkers
brianw at gdinet.com
Tue Apr 23 13:41:36 PDT 2002
Thanks for the pointer.
I found that I could disable short tags in the .htaccess file.
I added "php_flag short_open_flag off" to the .htaccess file in that
directory and the app seems happy again.
I'd still vote for always using the full <?php ?> tag to reduce the number
of possible problems.
Thanks for the lightning quick response.
Brian Winkers
Software Development Manager
Global Dialog Internet
-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck at horde.org]
Sent: Tuesday, April 23, 2002 3:08 PM
To: Brian Winkers
Cc: 'horde at lists.horde.org'
Subject: Re: [horde] Enabling use of short tags in PHP code breaks XML.
Quoting Brian Winkers <brianw at gdinet.com>:
> Having short tags enabled breaks things using XML and XHTML.
> PHP attempts to interpret the <?xml ?> tags.
The level of breakage is incredibly arguable (see the php-dev archives),
but in principle I agree with you. It's also a configuration option we
depend on, which we try to avoid.
Anyone have any objections to going back to <?php echo instead of <?= in
the HEAD branches?
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
"A dream which helps you to live your reality with dignity
and justice is a good dream." - Tariq Ramadan
More information about the horde
mailing list