Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39593 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41453 invoked from network); 4 Aug 2008 04:52:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 04:52:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:52971] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/D2-23035-31B86984 for ; Mon, 04 Aug 2008 00:52:36 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 4 Aug 2008 07:53:17 +0300 Received: from [192.168.17.27] ([192.168.17.27]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 3 Aug 2008 21:53:14 -0700 Message-ID: <48968B3B.2000709@zend.com> Date: Sun, 03 Aug 2008 21:53:15 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <909776579.20080803142659@marcus-boerger.de> In-Reply-To: <909776579.20080803142659@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Aug 2008 04:53:14.0727 (UTC) FILETIME=[00F70770:01C8F5EE] Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! > 1) new keyword 'use'. Semantically it is the same as 'static' or 'global' > so it should be used in the same location. Of course it's not. It does entirely different thing from static or global, it doesn't even deal with variables. > 2) namespaces, either use 'package' and only one per file, or use > 'namespace' with curly braces. Read this as be consistent with other > languages and even if one or two people do not like it the two main I don't see any requirement for PHP to mimic other languages up to minute detail of keyword and separator usage. > And there is no technical reason and surely no other reason whatsoever to > not have curly braces. If there is then we either fix that or went with the > wrong approach. There are reason, and they were amply explained in past 10 revolutions of this topic. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com