cvs: phpdoc /en/language types.xml
| From: | Philip Olson | Date: | Wed, 08 May 2002 20:27:05 +0000 |
| Subject: | cvs: phpdoc /en/language types.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345357@lists.php.net to get a copy of this message | ||
philip Wed May 8 16:27:05 2002 EDT
Modified files:
/phpdoc/en/language types.xml
Log:
array: link to reserved words, notices not warnings are generated.
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.78 phpdoc/en/language/types.xml:1.79
--- phpdoc/en/language/types.xml:1.78 Wed May 8 14:39:52 2002
+++ phpdoc/en/language/types.xml Wed May 8 16:27:05 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.78 $ -->
+<!-- $Revision: 1.79 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -1277,16 +1277,17 @@
At some point in the future, the PHP team might want to add another
constant or keyword, and then you get in trouble. For example,
you already cannot use the words <literal>empty</literal> and
- <literal>default</literal> this way, since they are special keywords.
+ <literal>default</literal> this way, since they are special
+ <link linkend="reserved">reserved keywords</link>.
</para>
<note>
<simpara>
When you turn <link linkend="function.error-reporting"
>error_reporting</link> to <literal>E_ALL</literal>,
- you will see that PHP generates warnings whenever an
+ you will see that PHP generates notices whenever an
<literal>index</literal> is used which is not defined
(put the line <literal>error_reporting(E_ALL);</literal>
- in your script)
+ in your script).
</simpara>
</note>
<note>