Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93280 invoked from network); 13 Sep 2012 09:12:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2012 09:12:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:41940] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/28-34511-673A1505 for ; Thu, 13 Sep 2012 05:12:23 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id C91266076C; Thu, 13 Sep 2012 12:05:38 +0300 (IDT) Received: from tpl2.home (10.1.10.8) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server (TLS) id 14.1.255.0; Thu, 13 Sep 2012 12:12:15 +0300 Message-ID: <5051A371.7010004@zend.com> Date: Thu, 13 Sep 2012 13:12:17 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Lars Strojny CC: Ralph Schindler , internals References: <504F4D33.4070306@ralphschindler.com> <5051968E.7030908@zend.com> <553F2A43-1A28-4AB5-9D6F-6B5ADFC420DB@strojny.net> In-Reply-To: <553F2A43-1A28-4AB5-9D6F-6B5ADFC420DB@strojny.net> Content-Type: text/plain; charset="windows-1252"; format=flowed X-Originating-IP: [10.1.10.8] Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] ::class feature to resolve namespaced class names to scalars From: dmitry@zend.com (Dmitry Stogov) We already have isset(), empty(), unset() that are a special purpose=20 functions handled by compiler. Thanks. Dmitry. On 09/13/2012 12:28 PM, Lars Strojny wrote: > Hi Dmitry, > > Am 13.09.2012 um 10:17 schrieb Dmitry Stogov : > [...] >> I think the syntax is wired. >> Instead of classname::class I would prefer something like class(classn= ame). > > Wouldn=92t this look too much like a function with all the implications= that might cause like users expecting class($variable) to work or even c= lass(otherfunc())? > > cu, > Lars >