mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
205655c440
commit
f4fbc4ea73
1 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue