PHP 4.0 Bug #9066: problem printing array
| From: | ken at iondesign dot ca | Date: | Fri, 02 Feb 2001 07:08:20 +0000 |
| Subject: | PHP 4.0 Bug #9066: problem printing array | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45589@lists.php.net to get a copy of this message | ||
From: ken@iondesign.ca
Operating system: redhat 7
PHP version: 4.0.4pl1
PHP Bug Type: Class/Object related
Bug description: problem printing array
$varibale="hello";
It is possible to echo "$variable[0]";
But if it is in a class echo "$this->variable[0]";
the result is array[0]
not hello.
echo $this->hello; minus quotation marks works fine.
I am not sure if this is a bug or just inconsistant.
Ken
--
Edit Bug report at: http://bugs.php.net/?id=9066&edit=1