I am using var_dump for printing a variable, named $info. Now I need to print message_id as shown below, but the string is not getting print.
object(stdClass)[10]
public 'date' => string 'Sun, 14 Oct 2012 19:45:26 +0100' (length=31)
public 'Date' => string 'Sun, 14 Oct 2012 19:45:26 +0100' (length=31)
public 'subject' => string 'deposit' (length=7)
public 'Subject' => string 'deposit' (length=7)
public 'message_id' => string '<CAKvS7sNb0Cb1AaAbCdEFGHerp5UyJuhfkcJj8P+8CZQj4VTGLA@mail.gmail.com>' (length=68)
public 'toaddress' => string 'sbsa secretaccount <[email protected]>' (length=43)
I'm using this line,
echo $info->message_id;
Also if I try this,
$temp = '<CAKvS7sNb0Cb1AaAbCdEFGHerp5UyJuhfkcJj8P+8CZQj4VTGLA@mail.gmail.com>';
echo "::$temp::";
Only :::: is getting printed, the $temp variable is ignored? Why?