svn: /phpdoc/en/trunk/ language-snippets.ent reference/classobj/functions/method-exists.xml reference/classobj/functions/property-exists.xml
| From: | Richard Quadling | Date: | Wed, 30 Dec 2009 12:24:42 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/classobj/functions/method-exists.xml reference/classobj/functions/property-exists.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5732@lists.php.net to get a copy of this message | ||
rquadling Wed, 30 Dec 2009 12:24:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292800
Log:
method_exists() and property-exists() both call __autoload if class is not known.
Fix #50594
Bug: http://bugs.php.net/50594 (To be documented)
method_exists() is invoking __autoload()
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/classobj/functions/method-exists.xml
U phpdoc/en/trunk/reference/classobj/functions/property-exists.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2009-12-30 12:22:31 UTC (rev 292799)
+++ phpdoc/en/trunk/language-snippets.ent 2009-12-30 12:24:42 UTC (rev 292800)
@@ -92,6 +92,10 @@
<!ENTITY note.filesystem-time-res '<note xmlns="http://docbook.org/ns/docbook"><para>Note
that time resolution may differ
from one file system to another.</para></note>'>
+<!ENTITY note.uses-autoload '<note xmlns="http://docbook.org/ns/docbook">
+<para>Using this function will use any registered
+<link linkend="language.oop5.autoload">autoloaders</link> if the class is not
already known.</para></note>'>
+
<!-- Tips -->
<!ENTITY tip.fopen-wrapper '<tip xmlns="http://docbook.org/ns/docbook"><simpara>A
URL can be used as a
Modified: phpdoc/en/trunk/reference/classobj/functions/method-exists.xml
===================================================================
--- phpdoc/en/trunk/reference/classobj/functions/method-exists.xml 2009-12-30 12:22:31 UTC (rev
292799)
+++ phpdoc/en/trunk/reference/classobj/functions/method-exists.xml 2009-12-30 12:24:42 UTC (rev
292800)
@@ -48,6 +48,12 @@
otherwise.
</para>
</refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ ¬e.uses-autoload;
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
Modified: phpdoc/en/trunk/reference/classobj/functions/property-exists.xml
===================================================================
--- phpdoc/en/trunk/reference/classobj/functions/property-exists.xml 2009-12-30 12:22:31 UTC (rev
292799)
+++ phpdoc/en/trunk/reference/classobj/functions/property-exists.xml 2009-12-30 12:24:42 UTC (rev
292800)
@@ -56,6 +56,12 @@
&null; in case of an error.
</para>
</refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ ¬e.uses-autoload;
+ </refsect1>
+
<refsect1 role="changelog">
&reftitle.changelog;
<para>