> It's a difference between doing a call_user_function_ex() and invoking > the handler directly.
i don't get your point. how would such a pear class look like ? > > > you're missing the point. if i invoke a method i don't > expect it to print a > > warning, i expect it to throw an exception (most likely) > and imho this is the > > prevailing opinion in oo. > > No, I'm not missing the point. How is this going to be achieved with > your approach? You have the same function handling both > function and OO > API? Is it going to throw exception based on how it's called? yup, that was the idea. harald -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php