samesch Sun Sep 28 08:19:18 2003 EDT
Modified files: /phpdoc/en/language types.xml Log: typo... Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.124 phpdoc/en/language/types.xml:1.125 --- phpdoc/en/language/types.xml:1.124 Sun Aug 31 15:37:32 2003 +++ phpdoc/en/language/types.xml Sun Sep 28 08:19:18 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.124 $ --> +<!-- $Revision: 1.125 $ --> <chapter id="language.types"> <title>Types</title> @@ -1002,7 +1002,7 @@ echo "This works: {$arr[4][3]}"; // This is wrong for the same reason as $foo[bar] is wrong -// outside a string. In otherwords, it will still work but +// outside a string. In other words, it will still work but // because PHP first looks for a constant named foo, it will // throw an error of level E_NOTICE (undefined constant). echo "This is wrong: {$arr[foo][3]}"; @@ -1929,6 +1929,7 @@ [3] => 'March' ) */ +?> ]]> </programlisting> </example> @@ -1937,6 +1938,7 @@ <title>Filling an array</title> <programlisting role="php"> <![CDATA[ +<?php // fill an array with all items from a directory $handle = opendir('.'); while (false !== ($file = readdir($handle))) {