note 5123 modified in Classes and Objects by ronabop

From: Date: Thu, 17 Aug 2000 09:58:03 +0000
Subject: note 5123 modified in Classes and Objects by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2159@lists.php.net to get a copy of this message
To determine the class of an object: I answered this myself by grepping through the source code. There are actually three interesting functions: get_class() and get_parent_class() which return a string, and method_exists() which returns true or false. These should be self-explanatory http://www.php.net/manual/classes-and-objects.php

« previous php.notes (#2159) next »