# Fix for bug #28325

- Thread: https://externals.io/message/10843
- Original archive: https://news-web.php.net/php.internals/10843
- Started by Moriyoshi Koizumi on 2004-06-30T03:06:01+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

---

## #10843 — Moriyoshi Koizumi — 2004-06-30T03:06:01+00:00

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

I made a patch for bug #28325.
I'd like to see this one applied by the time PHP5 gets out of the door.

http://www.voltex.jp/patches/bug28325-preliminary.patch.diff

Regards,
Moriyoshi

---

## #10853 — Andi Gutmans — 2004-07-01T05:25:51+00:00

URL: https://externals.io/message/10843#10853 · In reply to: #10843

Hi Moriyoshi,

The object handle is not a unique identifier. Different object types (e.g. 
PHP objects, SimpleXML objects) can have the same object handle. The real 
unique identifier is object handle + object handlers array or more useful 
in your case, possibly class name and object handle.

Andi


At 12:06 PM 6/30/2004 +0900, Moriyoshi Koizumi wrote:
>I made a patch for bug #28325.
>I'd like to see this one applied by the time PHP5 gets out of the door.
>
>http://www.voltex.jp/patches/bug28325-preliminary.patch.diff
>
>Regards,
>Moriyoshi

---

## #10864 — Sebastian Bergmann — 2004-07-01T21:17:25+00:00

URL: https://externals.io/message/10843#10864 · In reply to: #10853

Andi Gutmans wrote:
> The object handle is not a unique identifier.

  Are there any plans on implementing a really unique identifier to
  objects? This would, among other things, allow objects to be used as
  array keys.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
