Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82995 invoked by uid 1010); 1 Mar 2006 09:56:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82980 invoked from network); 1 Mar 2006 09:56:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2006 09:56:23 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:43345] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8B/33-25426-6CF65044 for ; Wed, 01 Mar 2006 04:56:22 -0500 Received: from [192.168.1.3] (dslb-084-063-027-197.pools.arcor-ip.net [84.63.27.197]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 48E0E35C1D2; Wed, 1 Mar 2006 10:56:18 +0100 (CET) Date: Wed, 1 Mar 2006 10:56:32 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1192470220.20060301105632@marcus-boerger.de> To: Derick Rethans Cc: PHP Developers Mailing List In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] abstract static From: helly@php.net (Marcus Boerger) Hello Derick, a static method is invoked without an instance but through the class. An abstract method is a placeholder that allows calling at that level of hierarchy. So when you have a code that deals with some objects derived from an abstract class you may call the abstract method on that instance because the derived class it was created from must have implemented the abstract methods of your abstract class. In contrast nobody would force you implement abstract static classes and even if we would do (actually we do that) you could still invoke the static method through the class and - bang! Since interfaces behave differently and do not allow to call something anyway they can be used to insert abstarct static methods in your code. best regards marcus Wednesday, March 1, 2006, 10:21:43 AM, you wrote: > Hello! > What is the reason why "abstract static" is no longer > allowed in HEAD?