Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59967 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52032 invoked from network); 15 Apr 2012 18:07:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2012 18:07:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:37488] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/21-41353-A4E0B8F4 for ; Sun, 15 Apr 2012 14:07:08 -0400 Received: from [192.168.178.32] (ppp-93-104-18-30.dynamic.mnet-online.de [::ffff:93.104.18.30]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Sun, 15 Apr 2012 20:07:03 +0200 id 0000000000000023.000000004F8B0E47.0000391F Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4F8AD787.8040903@ralphschindler.com> Date: Sun, 15 Apr 2012 20:07:03 +0200 Cc: Marco Pivetta , internals Content-Transfer-Encoding: quoted-printable Message-ID: <292D38A9-B839-4C2F-8A2E-144E493C669C@strojny.net> References: <4F89D4F1.8070009@ralphschindler.com> <4F8AD787.8040903@ralphschindler.com> To: Ralph Schindler X-Mailer: Apple Mail (2.1257) Subject: Re: [PHP-DEV] New Feature: Fully qualified class name resolution as scalar with class keyword From: lars@strojny.net (Lars Strojny) Hi Ralph, hi everybody, given the clear use case and the simplicity of the patch, a very good = idea.=20 With regards, Lars Am 15.04.2012 um 16:13 schrieb Ralph Schindler: >=20 >> I used to implement `public static function getClass() { return >> get_called_class(); }`, so I really like this one, makes it also = easier >> for IDEs when refactoring code :) >=20 > Oh completely, that is one of the major benefits. My current workflow = for refactoring is to refactor with the built-in support, but then also = having to go find/replace on the full class name, just in case. >=20 > -ralph >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20