Hi,
It seems that in the past few months ReflectionClass::getMethod() was changed to throw an Exception if the method doesn't exist. I don't understand the reasoning because as it's a reflection API I would expect it to return false and not an exception. Exceptions should be thrown for errors. As long as we don't have hasMethod() then I think this behavior is wrong.
Can anyone shed some light on this? Why was this changed? Marcus?
Thanks,
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php