Follow

I wish had an equivalent to dumping the memory address of an object -- some kind of unique identifier. It does have the === operator which lets you determine if two variables point to the same data-space, but sometimes that's not practical to use when debugging.

· · Web · 1 · 0 · 2

@woozle Does spl_object_hash provide the functionality you're looking for?

@adduc It might! The documentation for it sounds like what I'm looking for. Thanks for the tip!

Sign in to participate in the conversation
Toot.Cat

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!