PHP 4.0 Bug #9066 Updated: problem printing array

From: Date: Thu, 22 Feb 2001 15:48:57 +0000
Subject: PHP 4.0 Bug #9066 Updated: problem printing array
Groups: php.dev 
Request: Send a blank email to php-dev+get-47254@lists.php.net to get a copy of this message
ID: 9066 Updated by: stas Reported By: ken@iondesign.ca 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] ken@iondesign.ca $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

« previous php.dev (#47254) next »