note 37598 deleted from ref.classobj by didou
| From: | didou@php.net | Date: | Mon, 01 Mar 2004 11:53:52 +0000 |
| Subject: | note 37598 deleted from ref.classobj by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66038@lists.php.net to get a copy of this message | ||
Note Submitter: admin (hat) solidox (dawt) org
----
concerning the problem with multilevel objects,
if you encase it in braces it will work.
<?
$myObj = new bar ();
echo ('--- '.$myObj->obj->str.' ---');
echo ("\\n");
echo ("--- {$myObj->obj->str} ---"); //like this.
/*
output:
--- something ---
--- something ---
*/
?>