Question : assign the value of an object property to an variable

I need to assign the value ""http://gdata.youtube.com/feeds/videos/JCpz-45pFvU/comments?client=joe%40vultdecipi.com" to a variable,$VideoURL, from the attached var_dump of an object. var_dump($newEntry)

I think it should be:
$VideoUrl=$newEntry->_comments->_feedLink->_href;

However that does not work.  I get the following message.
Fatal error: Uncaught exception 'Zend_Gdata_App_InvalidArgumentException' with message 'Property _comments does not exist'

Thanks in advance!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
object(Zend_Gdata_YouTube_VideoEntry)
#147 (38) 
{ 
	["_entryClassName:protected"]=> string(29) "Zend_Gdata_YouTube_VideoEntry" 
	["_noEmbed:protected"]=> NULL 
	["_statistics:protected"]=> NULL 
	["_racy:protected"]=> NULL 
	["_private:protected"]=> NULL 
	["_rating:protected"]=> NULL 
	["_comments:protected"]=> object(Zend_Gdata_Extension_Comments)
		#213 (9) 
		{ 
			["_rootElement:protected"]=> string(8) "comments" 
			["_rel:protected"]=> NULL 
			["_feedLink:protected"]=> object(Zend_Gdata_Extension_FeedLink)
				#217 (12) 
				{ 
					["_rootElement:protected"]=> string(8) "feedLink" 
					["_countHint:protected"]=> string(1) "0" 
					["_href:protected"]=> string(86) "http://gdata.youtube.com/feeds/videos/JCpz-45pFvU/comments?client=joe%40vultdecipi.com"

Answer : assign the value of an object property to an variable

It was a little tricky but I figured it out.
 ob_start();
 var_dump($newEntry);                
 $newEntryDump = ob_get_clean();
$newEntryDumpStart = strpos($newEntryDump, 'http://gdata.youtube.com/feeds/videos/')+38;
$error['videoid'] = substr($newEntryDump,$newEntryDumpStart,11);
ob_end_flush();
Random Solutions  
 
programming4us programming4us