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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to