Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27505 invoked from network); 7 Oct 2012 23:08:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2012 23:08:02 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:48805] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/74-07529-05B02705 for ; Sun, 07 Oct 2012 19:08:00 -0400 Received: by mail-vb0-f42.google.com with SMTP id fs19so3992300vbb.29 for ; Sun, 07 Oct 2012 16:07:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=14uGPCrhSRYnWGgjMWcsBZH+NyZPPhhIVcIVvU4HM/0=; b=Gs7JAjeCJa/T0IuSpEUSnSW7plV66xwpx66cCucPdn4RYKDqaeDoI1ykHQeNLzFl+5 OerkMzkXx2WNqFg+Vac9rPz2Gy6x2jY066RYEpkfxjvygknr7T8VsiXri9DqobF/nXCu vQaWtrq+GDBuR6fmRqjpKhi5DdElwA3m/uUSkgWh8+10JOZcEP4Ys1DgGioVoglpCiQ3 a0lIf99Gv+hz5QkE5nbIrFOAkJhTRWP1GKFazlPWjWPhUAjFSj3MoyjxvtFEr5ez8G28 L0xwKed0gJj97EA7SuRPLsy6WLR5HU7MO0OUuL3N2bPhaIazNls6YO6DUVa7I7WeDuy2 4dBQ== MIME-Version: 1.0 Received: by 10.52.27.102 with SMTP id s6mr5136900vdg.99.1349651277302; Sun, 07 Oct 2012 16:07:57 -0700 (PDT) Received: by 10.58.146.103 with HTTP; Sun, 7 Oct 2012 16:07:57 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Oct 2012 19:07:57 -0400 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmMm2kykniO2NaHOgnt6Dq0BJ2tgmjCgR8NBCuXWOTjD2e9vlDucX73NsOB3uILlJn5JBUw Subject: Re: [PHP-DEV] Re: Arrays which have properties of sets From: rasmus@mindplay.dk (Rasmus Schultz) Yeah, on that note - I've never understood what use this function is, as it reuses object IDs... it will return the same hash for two different objects during the same script execution - so it's unusable as far as getting unique keys for objects... and I don't know what else you could really use it for? On Sun, Oct 7, 2012 at 5:01 AM, Pierre Joye wrote: > > Object hash may be what you are looking for. > > http://php.net/manual/en/function.spl-object-hash.php