Re: Re: static call bugs?

From: Date: Sat, 10 Mar 2001 00:30:35 +0000
Subject: Re: Re: static call bugs?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-48477@lists.php.net to get a copy of this message
There are no static functions in PHP. This syntax is used to call a method of the parent. It can be used to call other methods and thus have
parent::foo(); If you remember, it has been implemented *after* [classname]::[functionname]() ...
the wrong $this but I wouldn't document it.
can't this be fixed, otherwise if I start documenting :: (however you want to call it), I cannot leave it out and since PEAR uses it heavily it has to be documented
In general, I think it's a bad idea to document undocumented features because some of them aren't meant for people to use. The behavior might change in the future.
it's just three features "references inside constructor" (already commited), :: (the magical operator ;) ) and php_ticks andré -- · André Langhorst t: +49 331 5811560 · · andre@php.net m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net *

« previous php.dev (#48477) next »