Fixed PHP bug #52605 (get_class(NULL) returns class name when called insid member function of a class)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302255 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-08-15 07:17:24 +00:00
parent 205655c440
commit f4fbc4ea73

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>get_class</methodname>
<methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam>
<methodparam choice="opt"><type>object</type><parameter>object</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Gets the name of the class of the given <parameter>object</parameter>.
@ -57,6 +57,14 @@
</row>
</thead>
<tbody>
<row>
<entry>Since 5.3.0</entry>
<entry>
&null; became the default value for <parameter>object</parameter>,
so passing &null; to <parameter>object</parameter> now has the same
result as not passing any value.
</entry>
</row>
<row>
<entry>Since 5.0.0</entry>
<entry>