Re: WARNING: get_class() is case-sensitive in PHP 5
| From: | Klaus Guenther | Date: | Thu, 15 Jan 2004 11:13:46 +0000 |
| Subject: | Re: WARNING: get_class() is case-sensitive in PHP 5 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25076@lists.php.net to get a copy of this message | ||
On Thursday, January 15, 2004 5:47 AM, Greg Beaver wrote:
> so only functions that return a string and are traditionally tested
> using == as in if (get_class($blah) == 'classname') will be affected
But to restate Paul's question... will this work?
if (is_subclass_of($object, "pear")) echo "blah";
Klaus