[PATCH] class_implements() and class_parents()
| From: | Andrey Hristov | Date: | Wed, 06 Apr 2005 15:03:08 +0000 |
| Subject: | [PATCH] class_implements() and class_parents() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-15873@lists.php.net to get a copy of this message | ||
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