note 19367 deleted from function.is-subclass-of by nlopess

From: Date: Wed, 27 Oct 2004 14:00:54 +0000
Subject: note 19367 deleted from function.is-subclass-of by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79181@lists.php.net to get a copy of this message
Note Submitter: ---- It is probably worth noting explicitly that even if your class name has upper case characters in it, you must compare with an all lower-case version. E.g., suppose your class is called "myClass", and you've got an instance of it in $foo. The code is_subclass_of($foo,"myClass") will return FALSE, but is_subclass_of($foo,"myclass") will return TRUE.

« previous php.notes (#79181) next »