Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59473 invoked from network); 15 Oct 2008 05:18:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2008 05:18:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=mark@hell.ne.jp; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mark@hell.ne.jp; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hell.ne.jp designates 84.96.92.124 as permitted sender) X-PHP-List-Original-Sender: mark@hell.ne.jp X-Host-Fingerprint: 84.96.92.124 neuf-infra-smtp-out-sp604003av.neufgp.fr Received: from [84.96.92.124] ([84.96.92.124:50392] helo=neuf-infra-smtp-out-sp604003av.neufgp.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/4E-25867-AEC75F84 for ; Wed, 15 Oct 2008 01:17:32 -0400 Received: from neuf-infra-smtp-out-sp604011av.neufgp.fr ([10.110.56.116]) by neuf-infra-smtp-out-sp604003av.neufgp.fr with neuf telecom id Ss1r1a0032WT6TN03tHUlq; Wed, 15 Oct 2008 07:17:28 +0200 Received: from [192.168.0.25] ([77.207.3.30]) by neuf-infra-smtp-out-sp604011av.neufgp.fr with neuf telecom id StHS1a0080erKVH0BtHSs5; Wed, 15 Oct 2008 07:17:27 +0200 To: PHP internals Cc: Andi Gutmans In-Reply-To: <698DE66518E7CA45812BD18E807866CE021B6406@us-ex1.zend.net> References: <696583.1217.qm@web707.biz.mail.mud.yahoo.com> <037801c92e27$c913f3a0$3ffc1f3e@foxbox> <48F4E520.5050200@lsces.co.uk> <48F4E824.7020104@zend.com> <002901c92e2f$acdac990$3ffc1f3e@foxbox> <48F4F160.1040407@zend.com> <004d01c92e35$20c9cbd0$3ffc1f3e@foxbox> <48F4F7EE.2030609@zend.com> <007b01c92e37$b2952e90$3ffc1f3e@foxbox> <48F4FAF4.50509@zend.com> <00e101c92e3c$d5194b90$3ffc1f3e@foxbox> <48F5075C.2050807@zend.com> <31748C8A-66EA-4A27-9E27-486A4C398F5D@pooteeweet.org> <018401c92e41$ef89b0a0$3ffc1f3e@foxbox> <698DE66518E7CA45812BD18E807866CE021B6406@us-ex1.zend.net> Content-Type: text/plain; charset=UTF-8 Date: Wed, 15 Oct 2008 07:17:26 +0200 Message-ID: <1224047846.1712.423.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Subject: RE: [PHP-DEV] namespaces and alpha3 From: mark@hell.ne.jp (Mark) Le mardi 14 octobre 2008 à 15:30 -0700, Andi Gutmans a écrit : > > err .. you misunderstood me .. Dmitry wasnt happy with his approach .. > > last I heard Greg also stopped exploring his alternative approaches. > > so dont hold you breath. > > As I said, I talked to Dmitry today and he was OK with it. > I do think there's also a good chance to make progress with Greg. > > I suggest to give it a couple of more days. In any case, as I said, the > real issues that are being discussed are mostly marginal and I think a > broader alpha/beta when the time comes will help get the necessary > feedback from people who really play around with it and/or bring up > other issues. Hi, I've played a lot with namespaces too, and wrote a new version of some project I wrote long time ago with namespaces in mind. Old 99% procedural code, written years ago: http://ookoo.org/svn/pinetd/ New object code, with namespaces: http://ookoo.org/svn/pinetd2/ The new code was already started more than one year ago, and had some updates (eg. import became use), however it still somewhat works (I'm testing it with php 5.3alpha2, and I'm waiting for PHP 5.3 to be released before officially announcing the new branch and fixing some of the remaining bugs, see for example http://bugs.php.net/bug.php?id=46127 which I'd like to see fixed in HEAD/PHP_5_3). By the way I'd just like to point out that I never ever had to use functions/defines in namespaces, and don't really care about those anyway. As far as I understand it, namespaces are an oop element, and shouldn't affect non-oo programming. Because of this, the only real change I had to follow was when "use" replaced "import". Anyway I had a few other ideas related to namespaces I posted here before, but got no feedback, so I'll just continue to use this in my own php versions; and that's all. Mark