I understand each of your positions in the context in which you're both programming.
As to the function, my statement involved a different context, I think a very real and common situation where other classes and extensions of classes are involved. Just as an FYI, I also wish to add that function is very helpful to ensure a class was invoked properly via a plugin scenario where a user might extend your code externally. Or you want to see if the class has been properly de-constructed as part of memory cleanup. Matter of fact in PHP 5.0.0 they actually added a
new parameter to support __autoloading, which I think is quite convenient when used properly and clearly demonstrates programmers were using the function.
I'm not asking either of you to change your style, but merely to be open to possibilities and situations others have experienced where they find the function quite useful. As to the user defined global error handler, I can't disagree about the bigger problem part - but there is no tool that can account for all failure scenarios in all projects all the time. So adding in a decent handler and using throws or triggers along with a few sensible safeguards such as this function will all work together making a complete end product. I know you each have different ideas and methods, that's cool.
I suggest you
tell Zend to deprecate the command if you see no use for it with the same justifications you explained to me.
Thanks for expressing your opinions and thanks for listening to mine. I'm moving on to other topics, I'll leave the last word to anyone who wishes to do so. Cheers.
-jim