← All docs

spl_object_hash()

Return hash id for given object.

spl_object_hash()

function spl_object_hash(object $object): string

Return hash id for given object.

Parameters:

  • $object (object)

Returns: string

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how spl_object_hash is implemented in the compiler, see the internals page.