[PHP-DEV] abstract static function

2007-04-04 Thread Jingcheng Zhang
Hi internals, I used to use abstract static function prior to php 5.2, because when I consider static class as a singleton, I can use abstract static function to delay the implementation of some methods to the derived classes. This happens, for example, when I declare a parent dispatcher, and e

Re: [PHP-DEV] abstract static

2006-03-01 Thread 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 ins

[PHP-DEV] abstract static

2006-03-01 Thread Derick Rethans
Hello! What is the reason why "abstract static" is no longer allowed in HEAD? regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php