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' => 'red' , 'banana' => '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->width meters broad.";
echo "This square is $square->width00 centimeters broad."; // won't work,
// for a solution, see the <link
linkend="language.types.string.parsing.complex">complex syntax</link>.
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Sascha Schumann
- [PHP-DOC] cvs: phpdoc /en/language types.xml Sascha Schumann
- [PHP-DOC] cvs: phpdoc /en/language types.xml Sascha Schumann
- [PHP-DOC] cvs: phpdoc /en/language types.xml Torben Wilson
- [PHP-DOC] cvs: phpdoc /en/language types.xml Torben Wilson
- [PHP-DOC] cvs: phpdoc /en/language types.xml Torben Wilson
- [PHP-DOC] cvs: phpdoc /en/language types.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/language types.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- Re: [PHP-DOC] cvs: phpdoc /en/language types.xm... Egon Schmid
- Re: [PHP-DOC] cvs: phpdoc /en/language type... Hojtsy Gabor
- Re: [PHP-DOC] cvs: phpdoc /en/language ... Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language types.xml jim winstead
