On Wed, 18 Feb 2004 12:23:04 -0500
John Coggeshall <[EMAIL PROTECTED]> wrote:
> class foo {
> static function bar() {
> }
> }
> $a = new foo();
> $a->bar(); /* Unacceptable and contradictory to the concept of static
> */ foo::bar(); /* Acceptable */
I have the same problem as George :) I did not understand well your
original post.
We are talking about the same thing. A notice (error sounds too
drastic here) should be raised if a static method is called from the
instanciated object.
pierre
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php