Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39916 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40599 invoked from network); 13 Aug 2008 13:21:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2008 13:21:41 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:40859] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/04-30462-3EFD2A84 for ; Wed, 13 Aug 2008 09:21:40 -0400 Received: from MBOERGER-ZRH (unknown [193.142.125.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 9198211F39D; Wed, 13 Aug 2008 15:21:35 +0200 (CEST) Date: Wed, 13 Aug 2008 15:21:34 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1341995942.20080813152134@marcus-boerger.de> To: Lars Strojny CC: Etienne Kneuss , Stanislav Malyshev , , Lukas Kahwe Smith , In-Reply-To: <1218621323.4926.1.camel@localhost> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: helly@php.net (Marcus Boerger) Hello Lars, Wednesday, August 13, 2008, 11:55:23 AM, you wrote: > Hi Markus, > Am Dienstag, den 12.08.2008, 22:51 +0200 schrieb Marcus Boerger: > [...] >> a) Prevent include/require inside namespaced functions. >> >> Patch: php-no-include-in-namespaced-functions-6.0-20080812.diff.txt >> >> Should pretty much work. > So this means something like this won't work without a warning anymore? > namespace Foo; > class View > { > public function render($file) > { > include $file; > } > } > [...] > cu, Lars Namespaces are new, so it never worked before. But yes, this would trigger a warning in the compiler which means you are told to not do this with apc or other compiler caches. marcus marcus Best regards, Marcus