Re: class_implements()/class_parents() accepting string parameter

From: Date: Wed, 06 Apr 2005 14:25:57 +0000
Subject: Re: class_implements()/class_parents() accepting string parameter
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-15869@lists.php.net to get a copy of this message
Marcus Boerger wrote:
Hello Lukas, Wednesday, April 6, 2005, 3:46:08 PM, you wrote:
Hi,
it would be very useful if class_implements()/class_parents() would also handle a string containing a class name instead of requiring an object instance.
Class as it says does not need an instance. Can you send a patch? Hello Marcus, Lucas,
I have made a patch for class_implements() : http://andrey.hristov.com/projects/php_stuff/patches/class_implements.patch.txt The function is here : http://andrey.hristov.com/projects/php_stuff/patches/class_implements.c Andrey

« previous php.internals (#15869) next »