Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86489 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4609 invoked from network); 4 Jun 2015 21:18:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2015 21:18:05 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.176 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.176 mail-ob0-f176.google.com Received: from [209.85.214.176] ([209.85.214.176:33813] helo=mail-ob0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/81-19068-B80C0755 for ; Thu, 04 Jun 2015 17:18:04 -0400 Received: by obew15 with SMTP id w15so41838076obe.1 for ; Thu, 04 Jun 2015 14:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fy7AYSdoR0se4nXSBEWQqaUsEWj/DrsXqJRYg5Go5W4=; b=wAD6HxjMpRg8FXnj9nMhho96HjzrH8cVq7U1Aa4PqqGjGyG7YWLxUJIRZ8Y4TiWjhp ywXJSx3PZJ5SEo3i4ma1oCo3oYxVp2RAL/X0ytco2YBG180QPUQjZqZ1PaDZyA3fzR16 GSruebD99hulkpT0b+iBeW5N5GRMoRoJv+aJbHxlGzn7Smy2Xwdhow7YIATo/zNRmScN VN4dTiLwbg+60yHUTLgEVm1ySvq936BVh+ox1WlPebdeWUnWp84NJIEszPAFucDMbE9+ NgJA6EyrKkb+Eh6jCFotV02E06NsrtSRNv1YU3+n0qLx5lmdj2VvpF0mnSsK54un4poA gNFg== X-Received: by 10.202.194.139 with SMTP id s133mr6353932oif.39.1433452680748; Thu, 04 Jun 2015 14:18:00 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.170.196 with HTTP; Thu, 4 Jun 2015 14:17:20 -0700 (PDT) In-Reply-To: <557014A7.3040207@mabe.berlin> References: <557014A7.3040207@mabe.berlin> Date: Fri, 5 Jun 2015 06:17:20 +0900 X-Google-Sender-Auth: g57ut7kh26qgQZW0NuKaNx-dBL4 Message-ID: To: Marc Bennewitz Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113d32acd6a6920517b7b544 Subject: Re: [PHP-DEV] Migrating PHP classes to built in namespace From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113d32acd6a6920517b7b544 Content-Type: text/plain; charset=UTF-8 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 PHP > 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 both \ 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 --001a113d32acd6a6920517b7b544--