On Thu, 2004-12-23 at 07:43 +0100, Sebastian Bergmann wrote:
> Andi Gutmans wrote:
> > Exceptions should be thrown for errors.
> 
>  And trying to get a method that does not exist is an error.

...which is fine, but without an elegant way of checking if that method
exists I don't think it should be done.

I think we could all agree on 

  bool hasMethod(string $name)

(and not changing getMethod()) though, right?

-- 
Timm
If it ain't broken, it doesn't have enough features yet

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

Reply via email to