jeroen Mon Aug 20 15:27:21 2001 EDT
Modified files:
/phpdoc/en/language types.xml
Log:
Fix comment on "bla array[index] " syntax
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.47 phpdoc/en/language/types.xml:1.48
--- phpdoc/en/language/types.xml:1.47 Mon Aug 20 07:57:06 2001
+++ phpdoc/en/language/types.xml Mon Aug 20 15:27:20 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.47 $ -->
+<!-- $Revision: 1.48 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -796,7 +796,9 @@
<informalexample>
<programlisting role="php">
$fruits = array( 'strawberry' => 'red' , 'banana' => 'yellow' );
-echo "A banana is $fruits[banana]."; // this works, but is wrong <link
linkend="language.types.array.foo-bar">see the explanation</link>
+echo "A banana is $fruits[banana]."; // note that this works differently
+outside string-quotes. See <link
+linkend="language.types.array.foo-bar"><literal>$foo[bar]</literal> outside
+strings</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 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
- [PHP-DOC] cvs: phpdoc /en/language types.xml jim winstead
