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
Hello Andrey,
just three tiny changes were needed before applying. If onyl other parts
could be done that fast.
Wednesday, April 6, 2005, 5:03:08 PM, you wrote:
Hi all,
I have cooked up a patch that gives the possibility to use not
only an object but a string value withclass_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
--
Best regards,
Marcus mailto:mail@marcus-boerger.de