[PHP5RC3] echo " $this->db->host " not work
| From: | Tomasen | Date: | Mon, 12 Jul 2004 04:26:31 +0000 |
| Subject: | [PHP5RC3] echo " $this->db->host " not work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190220@lists.php.net to get a copy of this message | ||
assume $this->db is an object. $db->host is a string "localhost".
ehco $this->db->host;
// will output
localhost
but
ehco " $this->db->host ";
// whill output
Object id #2->host
is that a bug. or just have to workout by myself?
Thanks for all your good work
Tomasen