note 96610 added to function.is-a
| From: | mycroes at gmail dot com | Date: | Mon, 08 Mar 2010 08:22:25 +0000 |
| Subject: | note 96610 added to function.is-a | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166768@lists.php.net to get a copy of this message | ||
@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.
----
Server IP: 69.147.83.197
Probable Submitter: 62.177.216.90
----
Manual Page -- http://www.php.net/manual/en/function.is-a.php
Edit -- https://master.php.net/note/edit/96610
Del: integrated -- https://master.php.net/note/delete/96610/integrated
Del: useless -- https://master.php.net/note/delete/96610/useless
Del: bad code -- https://master.php.net/note/delete/96610/bad+code
Del: spam -- https://master.php.net/note/delete/96610/spam
Del: non-english -- https://master.php.net/note/delete/96610/non-english
Del: in docs -- https://master.php.net/note/delete/96610/in+docs
Del: other reasons-- https://master.php.net/note/delete/96610
Reject -- https://master.php.net/note/reject/96610
Search -- https://master.php.net/manage/user-notes.php