cvs: phpdoc /en/language types.xml

From: Date: Tue, 08 May 2001 23:34:05 +0000
Subject: cvs: phpdoc /en/language types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335210@lists.php.net to get a copy of this message
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>

« previous php.doc (#969335210) next »