NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
View the memory location (address) of a variable


Joined: 01 Nov 2012
Posts: 7
Location: London
Reply with quote
Hello All,

Forgive me if this is obvious -- I may have just missed it. But in PhpEd, how do you view an address of a variable?

Cheers,
Michael
View user's profileFind all posts by brownie999Send private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Why would you want to view the memory address of a variable? It doesn't strike me as being particularly useful for debugging PHP, plus I wouldn't be surprised if the address can change due to garbage cleanup, etc.

Are you possibly trying to determine if two variables are pointing to the same memory location (eg same reference) ?
View user's profileFind all posts by plugnplaySend private message
View the memory location (address) of a variable
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic