Jump to content

Displaying the memory pointer


Recommended Posts

Hello,

 

In the PHP manual chapter on reference counting there is a statement referring to one example that goes:

 

Although Xdebug's output shows two zval containers with value 'life', they are the same one. The xdebug_debug_zval() function does not show this, but you could see it by also displaying the memory pointer.

 

How to display that pointer it doesn't say, though. Can anyone help?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/238782-displaying-the-memory-pointer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.