note 96610 deleted from function.is-a by danbrown
| From: | danbrown@php.net | Date: | Mon, 08 Mar 2010 16:35:15 +0000 |
| Subject: | note 96610 deleted from function.is-a by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166786@lists.php.net to get a copy of this message | ||
Note Submitter: mycroes at gmail dot com
----
@dead dot screamer at seznam dot cz
Your use of is_a is testing whether a string is of a certain type. You need to instantiate and
object before you can compare. is_a(string, string) does not conform to the function declaration, so
of course it doesn't work.