Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86580 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86890 invoked from network); 10 Jun 2015 22:44:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 22:44:11 -0000 Authentication-Results: pb1.pair.com header.from=kelerest123@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kelerest123@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.196 as permitted sender) X-PHP-List-Original-Sender: kelerest123@gmail.com X-Host-Fingerprint: 209.85.214.196 mail-ob0-f196.google.com Received: from [209.85.214.196] ([209.85.214.196:35207] helo=mail-ob0-f196.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/93-63696-ABDB8755 for ; Wed, 10 Jun 2015 18:44:11 -0400 Received: by obbnt9 with SMTP id nt9so6696794obb.2 for ; Wed, 10 Jun 2015 15:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=hOP7H/y3PRze5gG5A5RYReJFvGlBfa6wFhOAEYjauk4=; b=WHNumDSeDYBID6lmJh7JqpeatI07t6Iuzizv8Q48iCgKbJF330wwzbchlZjpJO8sQJ E8rsEgkqCUs66dw5zHht2Glu8dL9R0gaaovVZPHncowl8wG6/nHGG5LlywST1J2++hcj 2R3zjHZQeB3XA8GEfBthfMCwKshNyCJzFoa/au9BeQfq/xv3h5Aj9PIo1wfHibZfTZai lQBqwtgfs27E9b7HpNlovwLcq2iVvXGlLgHY7QjOMsb8TbMWyvxkunp4e8jA/hJTC0er eYSkJZm8CIx4H3VZX2u9Pac/ZFExpR4g359Tv+yajD4wS1+xGJAP58BxE6zaCZPe26NH Ty+w== X-Received: by 10.182.81.137 with SMTP id a9mr4934126oby.9.1433976248205; Wed, 10 Jun 2015 15:44:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.109.33 with HTTP; Wed, 10 Jun 2015 15:43:47 -0700 (PDT) In-Reply-To: References: <557014A7.3040207@mabe.berlin> Date: Thu, 11 Jun 2015 00:43:47 +0200 Message-ID: To: Yasuo Ohgaki , dev@mabe.berlin Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Fwd: [PHP-DEV] Migrating PHP classes to built in namespace From: kelerest123@gmail.com (=?UTF-8?B?SmFrdWIgS3Viw63EjWVr?=) /cc-ing internals, as I sent the message privately to Yasuo by mistake. ---------- Forwarded message ---------- From: Jakub Kub=C3=AD=C4=8Dek Date: 2015-06-11 0:40 GMT+02:00 Subject: Re: [PHP-DEV] Migrating PHP classes to built in namespace To: Yasuo Ohgaki Hi. This is weird and ugly what you're fabricating here. The PHP classes should be all in global namespace. I am really against some namespacing of them. My =E2=82=AC 0.02 Regards Kubo2 2015-06-04 23:17 GMT+02:00 Yasuo Ohgaki : > Hi Marc, > > On Thu, Jun 4, 2015 at 6:04 PM, Marc Bennewitz wrote: > >> This one is not compatible with current code as you have to alias the PH= P >> namespace to the root one before using full classes like \DateTime. >> > > Right. > We are better to have PHP namespace for internal classes/functions first, > then > introduce "as \" few years later. i.e. PHP classes/functions exist in bot= h > \ and \php > namespace during migration period or we may user INI switch for migration= . > > PS: I like a lower case "php" much more than upper case "PHP" ;) >> > > I'm neutral on this :) > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net