Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58346 invoked from network); 2 Jul 2015 14:29:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2015 14:29:56 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.181 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:32787] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/20-52843-3EA45955 for ; Thu, 02 Jul 2015 10:29:56 -0400 Received: by wiwl6 with SMTP id l6so198905417wiw.0 for ; Thu, 02 Jul 2015 07:29:53 -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:date:message-id:subject :from:to:cc:content-type; bh=2OCDbSnYTtzAiZ8qk/im+N7hRi9nRH6kmifZ/1UIMR8=; b=jE7dwhuwqUNs16g9vFm3KL9QfeYzPADNwVcXhLI4UeQw1hjJpyDpIXPjqcAeIQFKkO 7gCUxRFTB3uy+6crW69+dUmKmnCuK1MOrUUE1NkZbkPJi/Xw9Ox+S+fwFU1c2cqmxShC I8TYufX9ZzUwYDPDJ8zgldfsEDrGKTeHCe7QaTsPkCxK5Kkl/Bii/Q+A8u6MK/awYrFu JzPdG4wEaMbi83G9rJgjXZ3zXrNm/ul+vAFuYZSUcTXSL7yC5BiJsl8DALxMoLtU9GRu RsPzaomK64J9xzXm841CXV9nLUnE743PKkvnHcnZ3dfIgbkQDs/6QTGb43/3OWyKRyXc VqGA== MIME-Version: 1.0 X-Received: by 10.180.78.136 with SMTP id b8mr16217402wix.89.1435847393269; Thu, 02 Jul 2015 07:29:53 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.28.212.67 with HTTP; Thu, 2 Jul 2015 07:29:53 -0700 (PDT) In-Reply-To: <55954115.8030904@hoa-project.net> References: <1413875212.2624.3.camel@localhost.localdomain> <55953FE5.3070102@hoa-project.net> <559540C9.8030504@heigl.org> <55954115.8030904@hoa-project.net> Date: Thu, 2 Jul 2015 16:29:53 +0200 X-Google-Sender-Auth: m5Zt-0WyK9PQ5F7ap2Sw0g5_k3k Message-ID: To: "Ivan Enderlin@Hoa" Cc: Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] UString From: kalle@php.net (Kalle Sommer Nielsen) Hi Ivan 2015-07-02 15:48 GMT+02:00 "Ivan Enderlin"@Hoa : > I fear it will be a reserved keyword. Internally defined classes, such as UConverter or stdClass are not reserved keywords, they are not an actual part of the language but a part of the library. Code like the one below is perfectly valid, meaning the example you made will continue to work as long it remains within a namespace: C:\dev\php-src>php -r "namespace stdlib; class stdclass { } var_dump(get_class(new stdclass), get_class(new \stdClass));" string(15) "stdlib\stdclass" string(8) "stdClass" -- regards, Kalle Sommer Nielsen kalle@php.net