bit of editing

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50384 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sascha Schumann 2001-06-30 19:14:55 +00:00
parent 679d41e23a
commit 245b9d3399

View file

@ -1173,8 +1173,8 @@ $error_descriptions[8] = "This is just an informal notice";
because <literal>E_ERROR</literal> equals <literal>1</literal>, etc.
</para>
<para>
Then, how is it possible that <literal>$foo[bar]</literal> yet works?
That is, because <literal>bar</literal> is due to it's syntax
Then, how is it possible that <literal>$foo[bar]</literal> works?
It works, because <literal>bar</literal> is due to its syntax
expected to be a constant expression. However, in this case no
constant with the name <literal>bar</literal> exists. PHP now
assumes that you meant <literal>bar</literal> literally,