On Tue, 09 Aug 2005 12:44:59 -0700 Andi Gutmans <[EMAIL PROTECTED]> wrote:
> But that's a good point. For the few frameworks that might > require such functionality they can use class_exists() or other > methods. That doesn't mean we should change instanceof for > mainstream usage which is 99.99%. Where do you get this percentage? Do a fgrep -rn is_a\( in PEAR for example. And please no stupid comments (not you Andi the evil other ;)). There is plenty of good reasons to do this check. > In all languages, frameworks do some trickier stuff. In Java they > often mess with the ClassLoader, in C++ they deal with DSOs. These are _compiled_, _linked_ languages. The simple fact that you cannot compile your sources explain the tricks. PHP is (should I say was?) mostly a dynamic and scripting language. > This kind of development > paradigm is not mainstream and as long as there's a way to > achieve it, then that's what's important. What is important to me is that "you" deprecate things without acceptable alternatives. > Even the people that mentioned it's soooo important. I bet that > if I look at their code, there's maybe 1 instance that actually > would need this (if at all). Wrong.... --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php