From 245b9d3399b870bc91b97ab002a5556e83f7cd9b Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 30 Jun 2001 19:14:55 +0000 Subject: [PATCH] bit of editing git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50384 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/types.xml b/language/types.xml index 518cee5340..f6018e531e 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1173,8 +1173,8 @@ $error_descriptions[8] = "This is just an informal notice"; because E_ERROR equals 1, etc. - Then, how is it possible that $foo[bar] yet works? - That is, because bar is due to it's syntax + Then, how is it possible that $foo[bar] works? + It works, because bar is due to its syntax expected to be a constant expression. However, in this case no constant with the name bar exists. PHP now assumes that you meant bar literally,