Eli wrote:
> Jochem Maas wrote:
>> maybe the runkit extension can help - no idea how big it might explode
>> in your
>> face if you try to hack the DOM* stuff with runkit :-)
>>
>> you never stated why you want to extend all the DOM classes, maybe there
>> is a different way of achieving what you want (i.e. without going
>> through the
>> hassle of what you seem to have to do at the moment)
> 
> I want to add a common function to all nodes extended from DOMNode (e.g
> DOMElement, DOMText, DOMAttr, etc), and also keep the code maintainable
> so changing the common function will not force me to do in 10 places 

why?

[I don't want to create a global function for this].

why not?

> 
> -thanks!
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to