Re: [PHP] Strange foreach reference issue

2012-01-08 Thread Adi Mutu
You can see here some nice pics, it's exactly as you said. http://schlueters.de/blog/archives/141-References-and-foreach.html From: Tim Behrendsen To: php-general@lists.php.net Cc: Stephen ; Matijn Woudt Sent: Sunday, January 8, 2012 3:01 AM Subject: Re: [P

[PHP] questions from page "Reference Counting Basics"

2012-01-08 Thread Adi Mutu
Hello, I was reading http://www.php.net/manual/en/features.gc.refcounting-basics.php, and i saw this: "The xdebug_debug_zval() function does not show this, but you could see it by also displaying the memory pointer." My question is, how can you get the memory pointer of a php variable?  Tha