get_class() updated as per bug #10172

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63062 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2001-11-22 20:59:31 +00:00
parent f502c73d89
commit 32b8e02ed2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.27 $ -->
<!-- $Revision: 1.28 $ -->
<reference id="ref.classobj">
<title>Class/Object Functions</title>
<titleabbrev>Classes/Objects</titleabbrev>
@ -323,16 +323,18 @@ 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.
object <parameter>obj</parameter> is an instance. Upon
failure, &false; is returned.
</para>
<note>
<para>
<function>get_class</function> returns the class name in
lowercase form.
</para>
<simpara>
<function>get_class</function> returns a user defined class name
in lowercase. A class defined in a PHP extension is returned
in its original notation.
</simpara>
</note>
<simpara>
See also <function>get_parent_class</function>,
See also <function>get_parent_class</function> and
<function>is_subclass_of</function>
</simpara>
</refsect1>