Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62971 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96284 invoked from network); 13 Sep 2012 09:15:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2012 09:15:23 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@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: julienpauli@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:49579] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/D8-34511-724A1505 for ; Thu, 13 Sep 2012 05:15:21 -0400 Received: by iamm10 with SMTP id m10so2265774iam.29 for ; Thu, 13 Sep 2012 02:15:15 -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 :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=XvnmxqC199Kmh7LldYSQNQfRkgqixGJNumfVF7E6jwg=; b=BtpVK8ElKoM5Ld4LnR1n0oKVpFKRtDbUav/4tdVNsoR2GK2r5RMWHnhaYO+fvZkeE9 B+5PafUU6K1e+89FG8HoDMl1wuibKJCiinwaHP8+eyoP9wbdhi67uSYOZdrypAZT0OJT cjWHeNA8C810ZLm6HiUEok4Dg2CEjD/DKr+QBRserzpvYJYhKofCVlOFt7gzrQZWez4x VhB0sHM+PzW1dwIrCvbSTcUDPO2W+QSGYw1tJByG7Smq+9y6SdXmqx7ZC98fdNv+W4Ag bYT32nQwWVgvHAmkLeYe62GSrPZEaOGvm4RC9cD07v9KkyZx38pBboUTLVOQdgP3FuuN d/qg== Received: by 10.50.160.233 with SMTP id xn9mr23783696igb.37.1347527715056; Thu, 13 Sep 2012 02:15:15 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.64.101.165 with HTTP; Thu, 13 Sep 2012 02:14:34 -0700 (PDT) In-Reply-To: <5051A371.7010004@zend.com> References: <504F4D33.4070306@ralphschindler.com> <5051968E.7030908@zend.com> <553F2A43-1A28-4AB5-9D6F-6B5ADFC420DB@strojny.net> <5051A371.7010004@zend.com> Date: Thu, 13 Sep 2012 11:14:34 +0200 X-Google-Sender-Auth: LLFHIrBIfLJpRX8lHE_JUvKoyzw Message-ID: To: Dmitry Stogov Cc: Lars Strojny , Ralph Schindler , internals Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] ::class feature to resolve namespaced class names to scalars From: jpauli@php.net (jpauli) On Thu, Sep 13, 2012 at 11:12 AM, Dmitry Stogov wrote: > We already have isset(), empty(), unset() that are a special purpose > functions handled by compiler. > > Thanks. Dmitry. Yes, if we communicate the right way about our feature not beeing a true PHP function and taking isset(), empty() et all as examples, people would understand I think :) Julien.P > > > 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(classname). >> >> >> 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 >> class(otherfunc())? >> >> cu, >> Lars >> > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >