Re: short_open_tag
| From: | Matt McClanahan | Date: | Wed, 13 Dec 2000 00:20:15 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41101@lists.php.net to get a copy of this message | ||
On Tue, 12 Dec 2000, Stanislav Malyshev wrote:
> KK>> 1. change php.ini so that by default short_open_tag = Off
>
> Is it so much of a problem to change it? After all, majority of people, as
> I know, don't use PHP to generate XML... Or was I living in a box last 2
> years?
I think anybody who is generating XML with PHP knows enough to disable
short tags on their own. Or at the very least, simply use
<? echo '<?xml ..... ?>' ?>
and avoid the issue entirely.
Matt