Re: Interface inheritance

From: Date: Mon, 19 Apr 2004 16:29:58 +0000
Subject: Re: Interface inheritance
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-9386@lists.php.net to get a copy of this message
Magnus Määttä wrote:
If you don't want strictness, don't use interfaces. If this doesn't get
I agree. Which also means that the PHP core and extensions should be written without interfaces to avoid forcing people to use them. Otherwise you end up with an extension you can't use with another framework using __call() (e.g. SOAP) or varargs. I hope PHP will be kept free of the Sortable, Enumerable, etc. interface hordes common in other languages. PINJ (PHP Is Not Java), - Chris

« previous php.internals (#9386) next »