Re: static call bugs?

From: Date: Sat, 10 Mar 2001 00:41:01 +0000
Subject: Re: static call bugs?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-48481@lists.php.net to get a copy of this message
If you have: class foo {
        function blahblah()
        {
        }
} class foobar extends foo { } class bar extends foobar {
        function hey()
        {
                foo::blahblah(); <-- You want $this to be correct in foo::blahblah.
        }
} Andi At 01:32 AM 3/10/2001 +0100, André Langhorst wrote:
Is that bad? Could come in useful, especially when calling parent classes.
wow, what a quick response :) could you elaborate (I guess you do not have parent:: in your mind writing from parent classes)? andré --
· André Langhorst        t: +49 331 5811560 ·
· andre@php.net          m: +49 173 9558736 ·
* PHP Quality Assurance http://qa.php.net * -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#48481) next »