Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32098 invoked from network); 13 Sep 2012 13:57:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2012 13:57:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=juzna.cz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=juzna.cz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: juzna.cz@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gh0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:62455] helo=mail-gh0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/00-31416-A56E1505 for ; Thu, 13 Sep 2012 09:57:47 -0400 Received: by ghbg14 with SMTP id g14so735921ghb.29 for ; Thu, 13 Sep 2012 06:57:43 -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=9yytjb5AEN0m4/ZJ02gJIiip8x8qcuSVXYuxUlokv7M=; b=S+fGM3w2agxe8D9Izvi09phqG5ukwSaBmND9LbYu+i/UvTLQoamHFGG7Wslid1zenZ 0fSLEZU2fEBgjsuvnqdpQ26pT9XQxDk611PVPIaIPjFzVv4W+wIrvLUBUyjz9VRxadR6 Kjen9/OVqhO+GvOLNf5Dyys7EX1Q1WMaxVAagqc3mYRnwPwnaWPyz8FvAZh863F+dUrN +LXa5lSbD30Vj5+tsYiKFsXLB1VyFLhkj9hbqvBZ90TjBbIPjO72sAZHL5ymxHqMN3A6 nW3qUQa+wBQvkj5oOJUJ+L2C9OgR2pK6zHH7xUcNh7jeQWmWUxpeC/BVDZ3VFsQPnlSw uypw== Received: by 10.236.149.162 with SMTP id x22mr2315880yhj.92.1347544663445; Thu, 13 Sep 2012 06:57:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.72.193 with HTTP; Thu, 13 Sep 2012 06:57:22 -0700 (PDT) In-Reply-To: <504F4D33.4070306@ralphschindler.com> References: <504F4D33.4070306@ralphschindler.com> Date: Thu, 13 Sep 2012 15:57:22 +0200 Message-ID: To: Ralph Schindler Cc: internals Content-Type: multipart/alternative; boundary=20cf303a321ffbd22b04c995b0ac Subject: Re: [PHP-DEV] [VOTE] ::class feature to resolve namespaced class names to scalars From: juzna.cz@gmail.com (Jan Dolecek) --20cf303a321ffbd22b04c995b0ac Content-Type: text/plain; charset=UTF-8 I'm not able to try it myself at the moment and it's not described in the RFC, so I'd like to ask: Will it invoke autoloading, if the class does not exist (yet)? I think this should be considered. If so, it's not good as it kills lazy-loading. If not so, it we may get errors later than expected. I think these problems deserve discussion. (I'd prefer to keep lazy-loading, since existence of class gets validated by IDE) Regards, JD On Tue, Sep 11, 2012 at 4: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 > > --20cf303a321ffbd22b04c995b0ac--