cvs: phpdoc /en/reference/classobj/functions get-parent-class.xml
| From: | Jakub Vrana | Date: | Tue, 07 Mar 2006 08:32:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/classobj/functions get-parent-class.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969372282@lists.php.net to get a copy of this message | ||
vrana Tue Mar 7 08:32:44 2006 UTC
Modified files:
/phpdoc/en/reference/classobj/functions get-parent-class.xml
Log:
Calling without parameter outside object (bug #36640)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/classobj/functions/get-parent-class.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/classobj/functions/get-parent-class.xml
diff -u phpdoc/en/reference/classobj/functions/get-parent-class.xml:1.7
phpdoc/en/reference/classobj/functions/get-parent-class.xml:1.8
--- phpdoc/en/reference/classobj/functions/get-parent-class.xml:1.7 Thu Jul 21 08:59:55 2005
+++ phpdoc/en/reference/classobj/functions/get-parent-class.xml Tue Mar 7 08:32:44 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/classobj.xml, last change in rev 1.4 -->
<refentry id="function.get-parent-class">
<refnamediv>
@@ -26,6 +26,8 @@
<para>
Since PHP 5, <parameter>obj</parameter> is optional if called from the
object's method.
+ If called without parameter outside object, this function returns
+ &false; (or &null; with a warning before PHP 5.1.0).
</para>
</note>
<para>