Re: Re: Static weirdness..

From: Date: Wed, 18 Feb 2004 17:30:12 +0000
Subject: Re: Re: Static weirdness..
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-7962@lists.php.net to get a copy of this message
On Wed, 18 Feb 2004 12:23:04 -0500 John Coggeshall <john@coggeshall.org> 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

« previous php.internals (#7962) next »