Andi Gutmans wrote:
> Sebastian, throwing an exception is relatively slow and cumbersome and
> sucks if you want to do something like a Delegation model and run
> through objects and check if a method can be called. Having exceptions
> thrown each time the object doesn't have the method is crazy.

 I do not think so (that it is crazy), for what it's worth.

 Changing it back to return FALSE instead of throwing an extension would
 break existing applications (at least PHPUnit2).

-- 
Sebastian Bergmann                      http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

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

Reply via email to