short_open_tag
| From: | Kristian Köhntopp | Date: | Tue, 12 Dec 2000 16:03:33 +0000 |
| Subject: | short_open_tag | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40978@lists.php.net to get a copy of this message | ||
short_open_tags = On
is leading increasingly to problems if PHP is applied
to XML documents or other documents containing XML
style PIs. The interpreter usually bails out at
<?xml ?> declarations.
There are two solutions to the problem:
1. change php.ini so that by default short_open_tag = Off
2. change the parser so that "<? " is a short open tag,
but "<?nonblank" is not.
Kristian
--
Kristian Köhntopp, NetUSE AG Siemenswall, D-24107 Kiel
Tel: +49 431 386 436 00, Fax: +49 431 386 435 99
Using PHP3? See our web development library at http://phplib.netuse.de/