Hi all, I have cooked up a patch that gives the possibility to use not only an object but a string value with class_implements() and class_parents() which are part of ext/spl.
Unified diff: http://andrey.hristov.com/projects/php_stuff/patches/class_parents_implements.patch.txt
Source snippet: http://andrey.hristov.com/projects/php_stuff/patches/class_parents_implements.c
Test script: http://andrey.hristov.com/projects/php_stuff/patches/class_parents_implements.phpt
Comments ?
Andrey
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php