svn: /phpdoc/en/trunk/reference/simplexml/ examples.xml
| From: | Jakub Vrana | Date: | Fri, 20 Nov 2009 12:21:56 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/simplexml/ examples.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5501@lists.php.net to get a copy of this message | ||
vrana Fri, 20 Nov 2009 12:21:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291073
Log:
Explain properties type (bug #46517)
Bug: http://bugs.php.net/46517 (Open) SimpleXML inconsistent
behaviour with multiple XML nodes
Changed paths:
U phpdoc/en/trunk/reference/simplexml/examples.xml
Modified: phpdoc/en/trunk/reference/simplexml/examples.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/examples.xml 2009-11-20 12:15:07 UTC (rev 291072)
+++ phpdoc/en/trunk/reference/simplexml/examples.xml 2009-11-20 12:21:56 UTC (rev 291073)
@@ -111,6 +111,13 @@
</programlisting>
</example>
</para>
+ <note>
+ <para>
+ Properties (<literal>$xml->movie</literal> in previous example) are not
+ arrays. They are <link linkend="class.iterator">iterable</link> and
+ <link linkend="class.arrayaccess">accessible</link> objects.
+ </para>
+ </note>
<para>
<example>
<title>Using attributes</title>