Re: PHP 4.0 Bug #8860 Updated: variable array not working
| From: | Stanislav Malyshev | Date: | Tue, 23 Jan 2001 17:58:57 +0000 |
| Subject: | Re: PHP 4.0 Bug #8860 Updated: variable array not working | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44840@lists.php.net to get a copy of this message | ||
MM>> Since it's actually possible to have a variable named $test[2], that
MM>> would probably lead to confusion.
Yes, excellent example. $test[2] is not really variable name - it's more
an expression (for ones with C++ backgound it's obvious, I guess :) As
opposet to that, you could have variable named ${'test[2]'}, if you are
crazy enough :)
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115