short_open_tag
| From: | Evan Nemerson | Date: | Mon, 14 Oct 2002 08:23:52 +0000 |
| Subject: | short_open_tag | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-89446@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just a thought, but I think short_open_tag should be Off by default in
php.ini-dist, to prevent PHP from being confused with XML declarations. I
know XML declarations aren't required (yet) by w3c, but "XHTML document
authors are strongly encouraged to use XML declarations in all their
documents." [http://www.w3.org/TR/xhtml11/conformance.html#s_conform]
I rarely see them in the wild, so I don't think there would be _too_ much of a
problem with backwards-compatibility... certianly no worse than the
register_globals fiasco (although it was the right decision).
I'll try to follow this in the archive, but I don't subscribe to this list, so
if you could CC replies, I'd be grateful.
- -Evan Nemerson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9qn9W/rncFku1MdIRAhmfAJ9cnzvZk2MIinNXC6z1sNNa3hIo6gCfRilp
QQ2/fCIQ3cW6RY/ZiVeC4o8=
=x9Ig
-----END PGP SIGNATURE-----