Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58377 invoked from network); 8 Oct 2011 14:08:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2011 14:08:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:39863] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/20-57596-C49509E4 for ; Sat, 08 Oct 2011 10:08:13 -0400 Received: by eyg7 with SMTP id 7so79165eyg.29 for ; Sat, 08 Oct 2011 07:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=+md6EyU8u/HTJcUsZ2hutx3qJBDoiLg/Oql4bqOvhEY=; b=GO0nYztfn9AmVCM2p39GT6Rs+IqZfNyQc+2v14WJlsAPpdThOoP47zloXlv3d+8jIq I4nRN66byqao3Cz6y9LQFLkH3Gu2qsmZ9Lu3cCPTikinWbDn4Za/IGvd4csQArb5IDDi 0TF+dgNBcr7qIs1jr8VfO6xTP6cMwwIYnfv6Y= MIME-Version: 1.0 Received: by 10.213.14.19 with SMTP id e19mr235011eba.1.1318082556231; Sat, 08 Oct 2011 07:02:36 -0700 (PDT) Sender: patrick.allaert@gmail.com Received: by 10.213.113.20 with HTTP; Sat, 8 Oct 2011 07:02:36 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 Oct 2011 16:02:36 +0200 X-Google-Sender-Auth: Vd9hPdWKgLdz22oSHOmKTJxIKVc Message-ID: To: Ferenc Kovacs Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] php54 vote From: patrickallaert@php.net (Patrick ALLAERT) 2011/10/8 Ferenc Kovacs : > Hi > > https://wiki.php.net/todo/php54/vote > I've just noticed that the php namespace and the primitive types > (string, bool, int) are still not reserved. > the primitive types didn't had the 66% of the votes, but the php > namespace did, so at least that should have been reserved in 5.4 > already. > what is the status about that? As far as I remember the thread about that, we concluded that while it may be ok to make them reserved words in the global namespace, it is absolutely not reasonable to make them reserved in a way it would prevent creating namespaced classes like: \Company\Types\Int, \Company\Types\String. Namespaces being created, among other reasons, to avoid name collisions, it would be unacceptable to have that BC break for people having take care of namespacing that kind of classes. And since the parser is too dumb for now, we just can't make it (cfr your own mail in that thread). The votes made on that topic where mostly done by people who obviously haven't take care of the technical limitations nor having followed the BC problems it generates. That topic shouldn't have been voted at all. Ref: http://marc.info/?t=131031633300001 Cheers, Patrick