Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47045 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62971 invoked from network); 24 Feb 2010 08:51:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2010 08:51:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.216 mail-bw0-f216.google.com Received: from [209.85.218.216] ([209.85.218.216:44836] helo=mail-bw0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/0C-26388-4A8E48B4 for ; Wed, 24 Feb 2010 03:51:49 -0500 Received: by bwz8 with SMTP id 8so3513138bwz.23 for ; Wed, 24 Feb 2010 00:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=c8dA2aPHK4GHw1mDKTDxPlZJIGJ5TI2TYTa6g53rkTA=; b=p2OWz7/Fr051FdSq5LKDLtBPtZ8oyMrA7sNl4Q05fulpreW26yYTCyzFxGTuRyNtc6 eKT+cd1bkeJOZ6X1cNMZKX4MBsovX7hg2WDlWBJXWCbGtpNUnuIF63E/4v8+s/y3U1VB rpyDxThRpGJEPGeTrs6M3UBy0RB4FXUtE0nuo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=W6f38uHxGqsr6TATqWvTLsn51ct2WDAMzmFdrIKWHgAHqvzKsNM4CS5r2ArFe05pRm r9WZV/5TQdNTC+i4nXrZv545FvNjS3IEidG0RJqZTOw3b2dNVOWKrBeSQUUgrt4y66t0 eajnYxq+15mhMcWOTxpH1Guunb1Ad1fD7qaiI= MIME-Version: 1.0 Received: by 10.204.32.7 with SMTP id a7mr2231995bkd.139.1267001505517; Wed, 24 Feb 2010 00:51:45 -0800 (PST) In-Reply-To: <4B84CEB1.2070400@zend.com> References: <4B54FC87.8070106@zend.com> <4F.56.22457.408955B4@pb1.pair.com> <4B55D850.8000604@zend.com> <4B808294.1070801@keryx.se> <4B844DBA.4050804@zend.com> <4B845E0C.7040005@gmail.com> <20100223232328.GE16412@phcomp.co.uk> <4B84CEB1.2070400@zend.com> Date: Wed, 24 Feb 2010 09:51:45 +0100 Message-ID: To: Stanislav Malyshev Cc: "Ionut G. Stan" , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] variables in namespaces, was: On closures and lamdba From: tyra3l@gmail.com (Ferenc Kovacs) maybe you want to pack your namespaced functions/classes with the global variables used with them. Tyrael On Wed, Feb 24, 2010 at 8:01 AM, Stanislav Malyshev wrote: > Hi! > >> I never did understand *why* variables were not namespaced. > > If you have so many global vars you need to namespace them, you should no= t > use global vars. > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com =C2=A0 http://www.zend.com/ > (408)253-8829 =C2=A0 MSN: stas@zend.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >