Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58793 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64122 invoked from network); 8 Mar 2012 17:03:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2012 17:03:54 -0000 Authentication-Results: pb1.pair.com header.from=simonsimcity@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=simonsimcity@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: simonsimcity@googlemail.com X-Host-Fingerprint: 209.85.160.42 mail-pw0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:58151] helo=mail-pw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/2B-00152-876E85F4 for ; Thu, 08 Mar 2012 12:03:52 -0500 Received: by pbcun1 with SMTP id un1so1837921pbc.29 for ; Thu, 08 Mar 2012 09:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=nnFHYPcs6ItcIv6XZV4fu96DV3m8yWu/qdh/swVpWB8=; b=DXIkeZo03E0f1SMghG0v1fNCnNO3/DvaMF9u58E4y3ftjGwwy5o88X2r+Qt7x8VG2N BpaIRBoV9WCC1tY55quOBdfDhvjyrOVgWil6XBbBO4j57xYc9CemEj2oTAhfx+iw4FXn +UaFzLrJYvaRgCyAmq/j3aqTYHQX4+euPF9sVNHd9t9ixYVomX1GquRH/6U1q/nrCQMe 9c6dBGp0Yanoxr/Pj9F69bvKaywhj2JNjxli5LqGgEP0cp26XMqC9pEwwqhW7Pz15cgJ ep4QHgWbsANYBNNUJ18TWvA70Z5lI7lzW10OvZVFdbiTq3KLhjfN77z5dYKe2yCUTzYR i+2Q== MIME-Version: 1.0 Received: by 10.68.217.136 with SMTP id oy8mr10680562pbc.122.1331226229505; Thu, 08 Mar 2012 09:03:49 -0800 (PST) Received: by 10.68.37.38 with HTTP; Thu, 8 Mar 2012 09:03:49 -0800 (PST) In-Reply-To: <4F58DEB5.2030704@php.net> References: <4F58DEB5.2030704@php.net> Date: Thu, 8 Mar 2012 18:03:49 +0100 Message-ID: To: Sebastian Bergmann Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Specify namespace to include file into. From: simonsimcity@googlemail.com (Simon Schick) 2012/3/8 Sebastian Bergmann : > Am 08.03.2012 17:05, schrieb Michael Morris: >> Thoughts? > > =C2=A0Sounds pointless/useless to me. > > -- > Sebastian Bergmann =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Co-Founder and Principal Consultant > http://sebastian-bergmann.de/ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://thePHP.cc/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > Hi, I understand the point why you wanna use that ... but I think personally it does not seem to be implementable, if you'd ask me. There are too many things we would have to change or specify a behavior for= ... * what if the included file contains direct code or a bunch of functions? * what about *_once file-includes inside this files? * what if the included file provides an auto-class-loader? If you just have class-files and not direct code there are still some opened questions ... The idea makes sense to me, but currently there are too much opened questions for me to take a closer look at it. Bye Simon