Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41617 invoked from network); 26 Sep 2008 11:49:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2008 11:49:28 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.90.176 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.90.176 ik-out-1112.google.com Received: from [66.249.90.176] ([66.249.90.176:44388] helo=ik-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/E6-19781-64CCCD84 for ; Fri, 26 Sep 2008 07:49:27 -0400 Received: by ik-out-1112.google.com with SMTP id c29so585950ika.7 for ; Fri, 26 Sep 2008 04:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BShbZ2CRCqqadNMQCPhuVrBvh4P3PWv4UgaHCBsObco=; b=RLOiK7at5abmtPuoKlB+nOWlb2+KF8FO9ykoZmSEGGopnhTLt4HvNpjvWB+hLAmuB1 UL5u3kNTYVWGhb+BzNemncMTdSfD1IqfSKVw5mMXWlzRAaCxeiplHAQ88E4RQUeuoGd2 8ftyjxsNwkLDxqhd9Jbme8BKUOOYYfU/qbI2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wNIcAkb5cyJkodY8bCssBioPyogBkXPt3NtX1oXGniI0fTflq42S92VjThPH9PoU8P pOjt2qaaJCgpt4/Xum0fF16lMyXBEZMlNjGY7p6enHmjVoN+jRAFzK4mVRVvpQe5IQEn s+v+hj98LuWBm/jwJj2j5igzeGx3qR09Twaig= Received: by 10.103.240.15 with SMTP id s15mr874184mur.23.1222429763801; Fri, 26 Sep 2008 04:49:23 -0700 (PDT) Received: by 10.103.212.17 with HTTP; Fri, 26 Sep 2008 04:49:23 -0700 (PDT) Message-ID: <10845a340809260449k4771f60atbf837a897bf59182@mail.gmail.com> Date: Fri, 26 Sep 2008 12:49:23 +0100 Reply-To: RQuadling@GoogleMail.com To: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] Namespace Question - Simple From: rquadling@googlemail.com ("Richard Quadling") 2008/9/26 Nathan Rixham : > Hi All, > > Can anybody answer the following question for me please. > > Why not follow (exactly) Java's strong static package/namespace system > rather than a home grown dynamic namespace system? > > It works, it's common, logical, robust, a working model to follow, and ties > in well with the PHP on Java movement. > > Regards, > > Nathan > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > From what I understand, JAVA is compiled and PHP isn't. PHP can include namespaces/classes/etc. at run time. Whereas everything has to be known upfront. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"