cvs: phpdoc /en/language types.xml

From: Date: Tue, 20 Sep 2005 14:15:16 +0000
Subject: cvs: phpdoc /en/language types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370239@lists.php.net to get a copy of this message
vrana Tue Sep 20 10:15:16 2005 EDT Modified files: /phpdoc/en/language types.xml Log: Converting arrays to object (bug #34500) http://cvs.php.net/diff.php/phpdoc/en/language/types.xml?r1=1.154&r2=1.155&ty=u Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.154 phpdoc/en/language/types.xml:1.155 --- phpdoc/en/language/types.xml:1.154 Fri Sep 2 08:32:09 2005 +++ phpdoc/en/language/types.xml Tue Sep 20 10:15:14 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.154 $ --> +<!-- $Revision: 1.155 $ --> <chapter id="language.types"> <title>Types</title> @@ -2123,9 +2123,10 @@ If an object is converted to an object, it is not modified. If a value of any other type is converted to an object, a new instance of the <literal>stdClass</literal> built in class is created. If the value - was null, the new instance will be empty. For any other value, a - member variable named <literal>scalar</literal> will contain the - value. + was &null;, the new instance will be empty. Array converts to an object + with properties named by array keys and with corresponding values. For + any other value, a member variable named <literal>scalar</literal> will + contain the value. <informalexample> <programlisting role="php"> <![CDATA[

« previous php.doc (#969370239) next »