torben Tue May 8 16:34:05 2001 EDT
Modified files:
/phpdoc/en/language types.xml
Log:
Added note that (object|array) => string conversion results in 'Array' or
'Object'.
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.17 phpdoc/en/language/types.xml:1.18
--- phpdoc/en/language/types.xml:1.17 Wed Feb 21 15:11:56 2001
+++ phpdoc/en/language/types.xml Tue May 8 16:34:05 2001
@@ -684,6 +684,13 @@
noted.
</para>
<para>
+ When casting or forcing a conversion from array to string, the
+ result will be the word <literal>Array</literal>. When casting or
+ forcing a conversion from object to string, the result will be
+ the word <literal>Object</literal>. In both cases a warning will
+ be issued.
+ </para>
+ <para>
When casting from a scalar or a string variable to an array, the
variable will become the first element of the array:
<informalexample>