Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30031 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82111 invoked by uid 1010); 1 Jun 2007 17:06:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82096 invoked from network); 1 Jun 2007 17:06:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2007 17:06:40 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:50319] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/C8-14089-C1250664 for ; Fri, 01 Jun 2007 13:06:39 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Jun 2007 10:06:34 -0700 Message-ID: <46605218.7070706@zend.com> Date: Fri, 01 Jun 2007 10:06:32 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Michael Wallner CC: internals@lists.php.net References: <465D8C6B.2000809@php.net> <465DB3A9.6010707@zend.com> <465DBAC6.5080700@php.net> <465F0EA7.7090608@zend.com> <60168.216.230.84.67.1180643634.squirrel@www.l-i-e.com> <884476655.20070601005146@marcus-boerger.de> <465F5595.7040201@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jun 2007 17:06:34.0333 (UTC) FILETIME=[352598D0:01C7A46F] Subject: Re: [PHP-DEV] [patch] Callbacks bug/change request From: stas@zend.com (Stanislav Malyshev) > You'd probably do something along those lines if it were possible: > > ((ParentClass) $child)->virtualMethod(); Looks like bad style to me - why not call child's method and it would, if needed, pass control to parent? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/