Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36321 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3171 invoked from network); 22 Mar 2008 12:36:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2008 12:36:41 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:45930] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/A1-28271-85DF4E74 for ; Sat, 22 Mar 2008 07:36:41 -0500 Received: from [192.168.0.9] (xdsl-87-79-224-33.netcologne.de [::ffff:87.79.224.33]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Sat, 22 Mar 2008 13:36:37 +0100 id 0000000000020004.0000000047E4FD55.00001817 To: Pierre Joye Cc: Ralph Schindler , Stanislav Malyshev , Hannes Magnusson , Marcus Boerger , PHP Internals In-Reply-To: References: <47E3F714.60302@zend.com> <47E40848.1060103@zend.com> <7f3ed2c30803211412v299a0c36m86cabb27b26c232@mail.gmail.com> <47E42657.7010408@zend.com> <7f3ed2c30803211420s6cdd06bcy331880346fa68cb@mail.gmail.com> <47E4281C.80706@zend.com> <47E44A1A.2020703@smashlabs.com> <1206187799.10080.26.camel@localhost> Date: Sat, 22 Mar 2008 13:36:36 +0100 Message-ID: <1206189396.10080.33.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-6167-1206189397-0001-2" X-Mailer: Evolution 2.22.0 Subject: Re: [PHP-DEV] short_open_tag From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-6167-1206189397-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Pierre, Am Samstag, den 22.03.2008, 13:27 +0100 schrieb Pierre Joye: [...] > It seems to be very hard to understand that it is not so simple. If > this feature is added, every library/module write will have to take > care of the short tags if they like to work smoothly in any unknown > configuration at runtime. The check is now done (in many cases) during > the installation phase and the install script asks the user to disable > the short tags to install and run the application or library. If > Zend_View or Solar_View use short tags (even worst if they require > them), they must be the exceptions in any recent/decent frameworks. They do not require them, as their "templating" mechanism is as simple as including a PHP file. So it depends on the runtime settings if this PHP file can be evaluated properly. > The problem with this feature is that the setting can be changed at > runtime, anytime. It is yet another pain a la magic quotes GPC and > other things like register globals. You said: Normally, it doesn't matter if short tags are enabled or not. In some cases it is important to have them disabled (the XML example) and in some cases it is important to have them enabled (the simple templating example). So the component which does XML validation can simply disable it while the templating component enables it. The rest should simply work with both. > "the only way to use short tags is to globally enable them." >=20 > That's not the case anymore with this patch and that's why we don't > like it... I understood that. And that's the reason I like the patch :) cu, Lars --=_milch.schokokeks.org-6167-1206189397-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJH5P1UAAoJECQPF+sCY6wHeYAQAJP0I0mBLZoF3PMUftMw43Pu XoKALCrFEERkdPJwzG6CuOSWj9RbyY58zlsta78Bw3AC4r7opNzBGh0jFtbfz9xr jLUYBAAUWizICBNNuiHHF9lMrKCmO2JCKiKusAGdcRhTgFFjIdRy0xsruZk1suoZ k9WAZHmhoS9yPI0yWlJp6CveqDNu+ZTN7Gq6R5485WMtoKf+6P+bXIEwlYDhkqRL 20LEENNnNzHM1PKfonIm8aWAlHAoN+5k9iBM89RvxfnirffcSt8AZFZat17MDvRk UBAqLj7IFsKP3l2ditWLc8GQsRYz8+102rHqnpW15VFzxSHi+2uU8W9ioiwtbCt1 g6OcFOC9KW44JwkUDwd/8SSWcDdiYKQYkAUnmakYO9ecTZu3EhW/IhUdTg1Cmxfy QWC+ERBLbzc9BcZTv0dAh3adQjV+Terb/YdVV8avvyfOXuM7uPm0x08Uc1BKY/46 YLDkwOWsPJzyn61bxh/rJNJ6ksZEXKqVPEAgoGdPH+XNaUfRKtjYHsAQeU9JLSaw l5xkq6I8ggOUHFVSIYWEfo3UfiIsozzq1LBo/N5ZopLdSOBVk2ONA6hG0pMS9Mj1 LrdVDxpUyMBLQm8Pzd5zMUp2xD0vChKaGKsO0GTJVDdI6aUwb9n9cIT/czoP1cEB X1EuHWDigGvs9pGFsBe9 =1Eio -----END PGP SIGNATURE----- --=_milch.schokokeks.org-6167-1206189397-0001-2--