Jim Wilson wrote:
> 1) Is there a way to inject a method into a Class such that future
> instantiations of that Class will have the method?  For example:
> 
> 2) Is there a way to change a method which already exists, as in by
> overwriting it with a new function?  I'm looking to do the equivalent of
> JavaScript's 'function as member' treatment, where it's easy to do
> something

See php.net/runkit

- Chris

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to