get_class: be explicit as to what can cause it to return false, and add see also for get_type

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65617 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-12-18 20:00:26 +00:00
parent 6efe3809a4
commit 9c8ead8e82

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.29 $ -->
<!-- $Revision: 1.30 $ -->
<reference id="ref.classobj">
<title>Class/Object Functions</title>
<titleabbrev>Classes/Objects</titleabbrev>
@ -323,8 +323,8 @@ call_user_method ("print_info", $cntry, "\t");
</funcsynopsis>
<para>
This function returns the name of the class of which the
object <parameter>obj</parameter> is an instance. Upon
failure, &false; is returned.
object <parameter>obj</parameter> is an instance. Returns
&false; if <parameter>obj</parameter> is not an object.
</para>
<note>
<simpara>
@ -334,7 +334,8 @@ call_user_method ("print_info", $cntry, "\t");
</simpara>
</note>
<simpara>
See also <function>get_parent_class</function> and
See also <function>get_parent_class</function>,
<function>get_type</function>, and
<function>is_subclass_of</function>
</simpara>
</refsect1>