Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39917 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42476 invoked from network); 13 Aug 2008 13:35:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2008 13:35:37 -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 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:35885] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/64-30462-723E2A84 for ; Wed, 13 Aug 2008 09:35:37 -0400 Received: from [10.88.8.185] (colt-d53d2146.colt.mediaventures.de [::ffff:213.61.33.70]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Wed, 13 Aug 2008 15:35:32 +0200 id 000000000000C005.0000000048A2E324.0000280B To: Marcus Boerger Cc: Etienne Kneuss , Stanislav Malyshev , hannes.magnusson@gmail.com, Lukas Kahwe Smith , internals@lists.php.net In-Reply-To: <1341995942.20080813152134@marcus-boerger.de> References: <909776579.20080803142659@marcus-boerger.de> <840985F2-A701-4BE4-91F6-F6B39048CF9B@pooteeweet.org> <48A09FF4.1030101@zend.com> <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> <48A0C415.9090104@zend.com> <48A0D579.2000000@zend.com> <48A0DBAE.2010401@zend.com> <496879481.20080812153636@marcus-boerger.de> <279600845.20080812225135@marcus-boerger.de> <1218621323.4926.1.camel@localhost> <1341995942.20080813152134@marcus-boerger.de> Date: Wed, 13 Aug 2008 15:35:32 +0200 Message-ID: <1218634532.4926.5.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-10251-1218634532-0001-2" X-Mailer: Evolution 2.22.3.1 Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-10251-1218634532-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Markus Am Mittwoch, den 13.08.2008, 15:21 +0200 schrieb Marcus Boerger: [...] > Namespaces are new, so it never worked before. But yes, this would trigge= r > a warning in the compiler which means you are told to not do this with ap= c > or other compiler caches. You are aware that this is used in a number of PHP libraries/frameworks? Additionally, a lot have code like this: class ... public function foo() { if (!$this->_something) { require_once 'Foo/Exception.php'; throw new FooException(); } } I guess most of the time those using OP caches know what they are doing. So why should a warning be triggered here? cu, Lars --=_milch.schokokeks.org-10251-1218634532-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) iQIcBAABAgAGBQJIouMjAAoJECQPF+sCY6wHWIYP/1LrcBbWQ/PKL4vkCEy9+J/A mNb0urClagIkfTh3nn/3g68NO6/OB7MKz//4X1MF0ZkglGIXw0JeQkrG8HdLcx7P yoG19olnsSnc5jvRFG+pNqHOlLc0BSXu8x4wERdgqk/fvrLVLZDKe1idlI2TNeJZ hjJHZzA4+I9j2/yS5i+/NUl918hz1GhUMSTKB+f91ymhrehC4SRr0kffzsIGs7dh xErIMJzxxzcHcatOALWXXNF9aT3sufHRt0pKkJC6+neynwCZ8XcFGGRI16byL/4Q YTSJKszZ/fmmwnYQH15btuvlJPHTu6aSBxVGndTgREW5tmQYOPvKjuX5hy17xUet zkukEsKzU0jdApQLEMftvq0duoo99mvi4FSQoBXXFcHv2U9AWMlpa1rF+g5rdi8n zakkvvrnN/nF9NvjDBYEsWfedKTRjV/mdIC7pwuFmk4oyzkrcJuuV0H1oNy5/V56 XT09hYN+Wb7UthWU+Qi/WHuBBGxXDAdv+Ai9O43ejHZegZ6KxA3Cg7zvyZpKlqad DBncGxYnHgYXxOSnsdI8Gt+U3EsI04N8+b8DTLirpYG9S3ZDZ36VodCnclCkwmjD t2kziypUtfGLY9qSJ81mIpSUtUajxqIeHOjfuXD5F3r7VjCifUJokjC0z3Sx+SJd A0Lh5EZFpMzP9RKEtrjh =jjaN -----END PGP SIGNATURE----- --=_milch.schokokeks.org-10251-1218634532-0001-2--