Function

spl_object_hash

Synopsis

spl_object_hash(mixed): string

Area
Runtime\PS\Core\Reflect\spl_object_hashareas

Description

PHP exposes an opaque, per-object identity. A pointer is exactly that, and stays stable for as long as the object is alive, which is the only guarantee PHP makes either.

Usage

$value = spl_object_hash($arguments);
$fn = spl_object_hash(...);

See also