Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22069 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83881 invoked by uid 1010); 1 Mar 2006 23:04:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83866 invoked from network); 1 Mar 2006 23:04:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2006 23:04:27 -0000 X-Host-Fingerprint: 207.58.169.145 vps.procata.net Linux 2.4/2.6 Received: from ([207.58.169.145:52106] helo=vps.procata.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5D/61-37756-B7826044 for ; Wed, 01 Mar 2006 18:04:27 -0500 Received: from [65.111.204.46] (helo=[65.111.204.46]) by vps.procata.net with esmtp (Exim 4.52) id 1FEaMp-0003Ng-U7; Wed, 01 Mar 2006 18:04:24 -0500 In-Reply-To: <1140732362.3702.14.camel@localhost.localdomain> References: <1140732362.3702.14.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Cc: PHP-DEV Date: Wed, 1 Mar 2006 18:04:28 -0500 To: 'Mike Lively' X-Mailer: Apple Mail (2.623) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.procata.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - procata.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] [PATCH] Late Static Binding From: jeff@procata.com (Jeff Moore) On Feb 23, 2006, at 5:06 PM, Mike Lively wrote: > I also added a new function get_caller_class() which returns the name > of > the class that static:: would represent. I find get_caller_class() a bit confusing because it introduces new terminology (caller). May I suggest adding: get_self_class() // corresponds to self get_static_class() // corresponds to static This already exists: get_parent_class() // corresponds to parent What should get_class() return inside of a static method? I frankly don't care, because I would always use get_self_class() or get_static_class() so that the meaning was explicit. Thanks for the patch, I'm excited about this one. Oh, using the key word static doesn't bother me at all. Best Regards, Jeff