Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27517 invoked by uid 1010); 9 Jun 2005 09:05:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27501 invoked from network); 9 Jun 2005 09:05:47 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 9 Jun 2005 09:05:47 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:38806] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 48/0E-21296-73408A24 for ; Thu, 09 Jun 2005 04:56:24 -0400 Received: (qmail 25012 invoked from network); 9 Jun 2005 08:56:19 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 9 Jun 2005 08:56:19 -0000 Date: Thu, 9 Jun 2005 11:56:19 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: John LeSueur cc: PHP Development In-Reply-To: <42A73DC5.5080605@supernerd.com> Message-ID: References: <42A73B87.302@supernerd.com> <42A73DC5.5080605@supernerd.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] abstract private methods From: stas@zend.com (Stanislav Malyshev) JL>>some of them yet, but I release this code to be used. Someone comes along JL>>and extends my class. If I have these future planned functions in as JL>>abstract private, then they are protected for my future use in the base JL>>class. The user extending my class will realize he needs to use a different JL>>function name. How would he? Private methods by definition can't be seen by child classes, so whatever you do with private methods would have no influence on inheriting class. That's the whole point in it, why I think it's of no use - because you can't meaningfully both require override (abstract) and hide from inherited classes (private). -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115