Re: fatal static call in php 6.0?

From: Date: Thu, 25 May 2006 12:53:08 +0000
Subject: Re: fatal static call in php 6.0?
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-23648@lists.php.net to get a copy of this message
Hello Christian, Thursday, May 25, 2006, 1:47:24 PM, you wrote: > One caveat with making a static call to a non-static function a fatal > error is that it will make use of static calls impossible for code which > wants to be PHP4 and PHP6 compatible, no? You probably don't care but I > still wanted to mention it. There is no way you can write heavy oo using code that supports PHP 4 and PHP 5.2 without a version check every here and there, so i don't see this as an argument. It is a fact that 4 and 5 have very different object models. > PS: There are no plans to make non-static calls to static methods > illegal, right? Of course not :-) Best regards, Marcus

« previous php.internals (#23648) next »