mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Clarified default behavior when omitting param. See PHP bug #52605.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302261 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6e133c0d53
commit
2779e0140a
1 changed files with 7 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
|||
<term><parameter>object</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The tested object
|
||||
The tested object. This parameter may be omitted when inside a class.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,12 +37,16 @@
|
|||
instance. Returns &false; if <parameter>object</parameter> is not an
|
||||
object.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>object</parameter> is omitted when inside a class, the
|
||||
name of that class is returned.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
If get_class() is called with anything other than an object, an <constant>E_WARNING</constant>
|
||||
level error is raised.
|
||||
If <function>get_class</function> is called with anything other than an
|
||||
object, an <constant>E_WARNING</constant> level error is raised.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="changelog">
|
||||
|
|
Loading…
Reference in a new issue