ID: 9066
Updated by: stas
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Class/Object related
Assigned To: 
Comments:

Use "{$this->variable[0]}"


Previous Comments:
---------------------------------------------------------------------------

[2001-02-02 02:08:20] [EMAIL PROTECTED]
$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

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9066&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to