From 06049c5efe641a9bb98613f0bd2c41ba01648539 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 8 May 2002 20:27:05 +0000 Subject: [PATCH] array: link to reserved words, notices not warnings are generated. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81477 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/language/types.xml b/language/types.xml index 7679fddf2c..1f69483772 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1277,16 +1277,17 @@ $error_descriptions[8] = "This is just an informal notice"; 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 empty and - default this way, since they are special keywords. + default this way, since they are special + reserved keywords. When you turn error_reporting to E_ALL, - you will see that PHP generates warnings whenever an + you will see that PHP generates notices whenever an index is used which is not defined (put the line error_reporting(E_ALL); - in your script) + in your script).