Re: Static properties

From: Date: Thu, 11 May 2006 12:17:57 +0000
Subject: Re: Static properties
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-23243@lists.php.net to get a copy of this message
On Wed, 26 Apr 2006, Edin Kadribasic wrote: > Marcus Boerger wrote: > > It is just some decision that was taken that the newer OO stuff should be a > > bit more strict. > > I don't remember any such decision. I don't even remember a discussion about > it. I'm aware of the efforts of some people to make PHP less PHP and more Java > and thus we end up in a situation where: > > class foo{}; foo::$bar = 1; > > is a fatal error. This makes things that I really like about PHP impossible. > By now I'm used to being not constrained by a static language and having such > restrictions placed on new features makes no sense to me. Yup, I agree. OO is good, but it shouldn't limit application development just for the sake of things not being pure OO. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#23243) next »