cvs: phpdoc /en/language types.xml

From: Date: Mon, 20 Aug 2001 11:57:07 +0000
Subject: cvs: phpdoc /en/language types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337199@lists.php.net to get a copy of this message
goba Mon Aug 20 07:57:07 2001 EDT Modified files: /phpdoc/en/language types.xml Log: Note about $array[banana] is bad! Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.46 phpdoc/en/language/types.xml:1.47 --- phpdoc/en/language/types.xml:1.46 Mon Aug 20 07:55:11 2001 +++ phpdoc/en/language/types.xml Mon Aug 20 07:57:06 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.46 $ --> +<!-- $Revision: 1.47 $ --> <chapter id="language.types"> <title>Types</title> @@ -796,7 +796,7 @@ <informalexample> <programlisting role="php"> $fruits = array( 'strawberry' =&gt; 'red' , 'banana' =&gt; 'yellow' ); -echo "A banana is $fruits[banana]."; +echo "A banana is $fruits[banana]."; // this works, but is wrong <link linkend="language.types.array.foo-bar">see the explanation</link> echo "This square is $square-&gt;width meters broad."; echo "This square is $square-&gt;width00 centimeters broad."; // won't work, // for a solution, see the <link linkend="language.types.string.parsing.complex">complex syntax</link>.

« previous php.doc (#969337199) next »