Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36334 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8056 invoked from network); 22 Mar 2008 19:40:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2008 19:40:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:39384] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/33-16027-0A065E74 for ; Sat, 22 Mar 2008 14:40:17 -0500 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 261C5C109E2; Sat, 22 Mar 2008 12:40:13 -0700 (MST) Received: from [192.168.0.106] (CPE-76-84-4-101.neb.res.rr.com [76.84.4.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 5819EC109E1; Sat, 22 Mar 2008 12:40:12 -0700 (MST) Message-ID: <47E5609F.9030808@chiaraquartet.net> Date: Sat, 22 Mar 2008 14:40:15 -0500 User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <1789567073.20080321223647@marcus-boerger.de> In-Reply-To: <1789567073.20080321223647@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [RFC] Namespace syntax decision From: greg@chiaraquartet.net (Gregory Beaver) Marcus Boerger wrote: > Hello Internals, > > we all were asked to stop discussing syntax of namespaces as we were told > that we would decide after the namespace functionality was fully implemented. > Now I think that the functionallity is pretty much settled we should > revisit the syntax. We all have been very patient so far. Anyway here goes > my take on it: > > PHP is very close to Java and C++ in terms of Syntax. And many of our users > are familiar with one or even both of them. Also we have a tendency to > especially take syntax from those two or be in line with those two > languages. That said I see two ways: > > 1) namespace foo { } > > 2) package foo; I did not notice until now that you had changed the keyword to package. -1 on this change. Either namespace blah; or namespace blah {}. Greg