note 16190 added to function.is-subclass-of
| From: | uhein at ieag dot de | Date: | Fri, 19 Oct 2001 13:34:23 +0000 |
| Subject: | note 16190 added to function.is-subclass-of | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19154@lists.php.net to get a copy of this message | ||
To determine a certain object to be of a speical type atm it's necessary to call get_class(
$obj ) and then to call is_subclass_of( $obj,'class' ).
It would help, if is_subclass_of would return true in case $obj is of type 'class' like
Perls 'isa'.
--
http://www.php.net/manual/en/function.is-subclass-of.php
http://master.php.net/manage/user-notes.php?action=edit+16190
http://master.php.net/manage/user-notes.php?action=delete+16190
http://master.php.net/manage/user-notes.php?action=reject+16190