Re: Re: Static weirdness..

From: Date: Wed, 18 Feb 2004 17:23:04 +0000
Subject: Re: Re: Static weirdness..
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-7961@lists.php.net to get a copy of this message
On Wed, 2004-02-18 at 12:21, George Schlossnagle wrote: > Maybe I'm having a slow-English day, but how is the first sentence here > is not intrinsically self-contradictory? :) class foo { static function bar() { } } $a = new foo(); $a->bar(); /* Unacceptable and contradictory to the concept of static */ foo::bar(); /* Acceptable */ John -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

« previous php.internals (#7961) next »