how access $content array inside a block php? I have created a block and the format of it's content is PHP CODE.

this block is available only full page of node type article.

now in my block , I want to access $content or $page array.

I used global operation such as 

global $content;
dpm ($content);


or

global $page;
dpm($page);


But both of these blocks return no result.

Please guide me.

Thanks a lot.
If you need to extract the comment of a node and put it in a block you can achieve this with a view.

Create a new view who show 'Comments' and create a block.
Now you can add a contexual filter:

Comment: Nid
The node ID to which the comment is a reply to.

After that select 'Provide default value'
and 'Content ID from URL'

Now you can add a 'Validation criteria'
and select 'Content' and check only the content type you want with this block.
now set 'Action to take if filter value does not validate' to 'Hide view'

Now you can add this block to a region in the block page and you have the node's comment displayed in a block. 

Let me know if this will work for you ^^