Re: [PHP-DEV] "::" meaning and documentation From: Chuck Hagenbuch (chagenbu <email protected>)
Date: 06/26/00

Quoting Stefan Livieratos <stefan <email protected>>:

> No side effect. Static method calls were introduced so that in a subclass
> you can call methods of the parent class.

If $this is empty in methods called with the :: notation, then how can you
usefully call a method of the parent class? Or is $this magically set to the
right thing in those cases?

-chuck

--
I won't die for Fernando Poo

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>