spl_object_hash()
spl_object_hash - Return hash id for given object
Syntax
string spl_object_hash (
object $obj)
Arguments
Description
This function returns a unique identifier for the object. This id can be used as a hash key for storing objects or for identifying an object.
Version
PHP 5.2.0
Return value
A string that is unique for each currently existing object and is always the same for each object.