On Sat, Jan 10, 2009 at 4:31 PM, Nathan Rixham <nrix...@gmail.com> wrote:

> Evening All,
>
> Not too often I ask a question here, but here goes;
>
> I'm making an "Object" class which all of my other classes extend, and I
> need each instance to have it's own unique id, seemed simple but it's harder
> than I thought (the difficulty is when it comes to deciding the syntax).


checkout spl_object_hash()

http://php.net/function.spl_object_hash

-nathan

Reply via email to