Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96187 invoked by uid 1010); 31 May 2007 20:33:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96172 invoked from network); 31 May 2007 20:33:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2007 20:33:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3001] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/22-17260-0313F564 for ; Thu, 31 May 2007 16:33:54 -0400 Received: (qmail 85621 invoked by uid 98); 31 May 2007 20:33:54 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3335. Clear:RC:1(127.0.0.1):. Processed in 0.066984 secs); 31 May 2007 20:33:54 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 31 May 2007 20:33:54 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 31 May 2007 15:33:54 -0500 (CDT) Message-ID: <60168.216.230.84.67.1180643634.squirrel@www.l-i-e.com> In-Reply-To: <465F0EA7.7090608@zend.com> References: <465D8C6B.2000809@php.net> <465DB3A9.6010707@zend.com> <465DBAC6.5080700@php.net> <465F0EA7.7090608@zend.com> Date: Thu, 31 May 2007 15:33:54 -0500 (CDT) To: "Stanislav Malyshev" Cc: "Etienne Kneuss" , internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] [patch] Callbacks bug/change request From: ceo@l-i-e.com ("Richard Lynch") On Thu, May 31, 2007 1:06 pm, Stanislav Malyshev wrote: >> It's already supported, but buggy right now. I don't believe fixing >> it >> for odd cases will bother anyone. > > Well, I'm for one not sure that callback in form array('B', > 'parent::foo') shouldn't error out instead (I know it works now, but > it > never states in the docs it's legal and I don't think it was intended > to > work). Otherwise next thing would be array('B', 'C::foo') and that'd > be > a real mess. Seems to me that anybody who thinks they need this can lookup the parent of B and construct the right array in the first place... I'm sure the patch is nifty, but it seems better to me to just error out as well. What about array('B', 'self::foo') -- I can see how that's needed to call the static method, I guess... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?