# spl_object_hash

- Thread: https://externals.io/message/26308
- Original archive: https://news-web.php.net/php.internals/26308
- Started by Stanislav Malyshev on 2006-11-03T19:24:38+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26308 — Stanislav Malyshev — 2006-11-03T19:24:38+00:00

URL: https://externals.io/message/26308#26308

I see there's a new function called spl_object_hash which does object ID 
(which I for one welcome :) - but it is not documented anywhere in the 
manual. Is it an omission or there's some reason to that?

-- 
Stanislav Malyshev, Zend Products Engineer
stas@zend.com  http://www.zend.com/

---

## #26309 — Hannes Magnusson — 2006-11-03T19:39:08+00:00

URL: https://externals.io/message/26308#26309 · In reply to: #26308

Human resource problem.
We welcome any help we can get, there are still lots of things undocumented.

-Hannes


> I see there's a new function called spl_object_hash which does object ID
> (which I for one welcome :) - but it is not documented anywhere in the
> manual. Is it an omission or there's some reason to that?
>
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com  http://www.zend.com/

---

## #26310 — Marcus Boerger — 2006-11-03T19:39:15+00:00

URL: https://externals.io/message/26308#26310 · In reply to: #26308

Hello Stanislav,

  no, it is an oversight. The function simply generated a hash form objects,
where hash is an md5 string that is always unique as it is build by object
id and object handler address.

best regards
marcus
  

Friday, November 3, 2006, 8:24:38 PM, you wrote:

> I see there's a new function called spl_object_hash which does object ID 
> (which I for one welcome :) - but it is not documented anywhere in the 
> manual. Is it an omission or there's some reason to that?

> -- 
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com  http://www.zend.com/




Best regards,
 Marcus
