Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62965 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84615 invoked from network); 13 Sep 2012 08:27:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2012 08:27:28 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:34443] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/56-34511-EE891505 for ; Thu, 13 Sep 2012 04:27:27 -0400 Received: by iamm10 with SMTP id m10so2235963iam.29 for ; Thu, 13 Sep 2012 01:27:24 -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; bh=QNveuyWcAmr84ZodXNsyHQIVBP6bmNPMliBZQlLkMHY=; b=nDVbhcINPPIiEXbhf5YyjdsvEIrFyaHT9DrP49adoLJywP2NDigwsWAehif/lwqZpv qk7wZ0BwEXP4xVP+43ZzhHvN+YyxlwNOxwjt3U12lh+KlSg5tA1VaCPW2X/7qNmnX0Bc 3GNLT6NselY8O7VlGXctvUzWOylZiNTmMURnwhq1fTxoLFsb6xGad0b/QRtfstotsNNm bmCnnGvEQx/XEazE3DEtTYK5L2jYUHVaVKqgDqctJwLnUpUAnAI57HlTqmX7VkQZ9XXe yj8PirbkJa3Lgj7XOUxEZv2HbQVNm0rWmP8S1FhyK7y0PfK31XcjBkSihghoFW69AIt3 UqTg== Received: by 10.50.47.129 with SMTP id d1mr23822703ign.45.1347524844108; Thu, 13 Sep 2012 01:27:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.69.133 with HTTP; Thu, 13 Sep 2012 01:27:03 -0700 (PDT) In-Reply-To: <5051968E.7030908@zend.com> References: <504F4D33.4070306@ralphschindler.com> <5051968E.7030908@zend.com> Date: Thu, 13 Sep 2012 10:27:03 +0200 Message-ID: To: Dmitry Stogov Cc: Ralph Schindler , internals Content-Type: multipart/alternative; boundary=14dae93411d1a8bc8904c9911342 Subject: Re: [PHP-DEV] [VOTE] ::class feature to resolve namespaced class names to scalars From: ocramius@gmail.com (Marco Pivetta) --14dae93411d1a8bc8904c9911342 Content-Type: text/plain; charset=UTF-8 @Dmitry that looks more like a function call, while (IMO) it is more intuitive to consider it like a static property... Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 13 September 2012 10:17, Dmitry Stogov wrote: > Hi Ralph, > > I think the syntax is wired. > Instead of classname::class I would prefer something like class(classname). > > Thanks. Dmitry. > > > On 09/11/2012 06:39 PM, Ralph Schindler wrote: > >> Hi internals! >> >> The ::class resolution proposal had significant discussion in April and >> I've updated the patch to address issues that came up then. At this >> point, I've gotten some positive feedback from various places and feel >> its time to open it up for a vote to internals. >> >> RFC: https://wiki.php.net/rfc/**class_name_scalars#vote >> >> PR: https://github.com/php/php-**src/pull/187 >> >> Thanks, >> Ralph >> >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --14dae93411d1a8bc8904c9911342--