Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37310 invoked from network); 25 Sep 2014 07:44:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2014 07:44:27 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:37758] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/54-06184-AD7C3245 for ; Thu, 25 Sep 2014 03:44:27 -0400 Received: by mail-wi0-f178.google.com with SMTP id z2so8788446wiv.5 for ; Thu, 25 Sep 2014 00:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dIZuQVxGMRXIqvEKRnGlOCiRlQjFpQXtHYzEHrVwvuA=; b=yrix4qoIHMf7UZqnTsr24tk6QMByaq7EFuDk34u2+ljp9r/D915eEQj/ieoQ35yGdn RggymzEOr2eaQlBBoOv3vSvvkSdGkoTV2QKJK6soop6jZrIsBBGv69dWkW/af9YWLSeC VNSMUd6p3n/kHFYd9jpRGJxbFJtmDkNvnfYK1ANCNqhnAxDOzOwLeVYvAbmBqKHpAJTH 9bVHpNZAfVJMKrewLXnv5Adx8BLTqXOPXAx10fNEEorXhToa6L460/FgE4L6+3Q8NQdA pmBUeaQPU8kg0LwcIdcXNe7uXo2b+0agNI/1yEtl2k50FnA3HVyD5fgEPLtZ4GC4UvGQ ulOg== MIME-Version: 1.0 X-Received: by 10.194.88.195 with SMTP id bi3mr13992168wjb.10.1411631063928; Thu, 25 Sep 2014 00:44:23 -0700 (PDT) Received: by 10.217.55.195 with HTTP; Thu, 25 Sep 2014 00:44:23 -0700 (PDT) In-Reply-To: <5423C701.807@lsces.co.uk> References: <1411561476.2303.4.camel@guybrush> <54232205.4020806@sugarcrm.com> <3E4C58C8-E816-4798-9D8F-2C7EFFA28438@ajf.me> <5423C701.807@lsces.co.uk> Date: Thu, 25 Sep 2014 08:44:23 +0100 Message-ID: To: Lester Caine Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Invokation on __toString() for object used as array key From: leight@gmail.com (Leigh) On 25 September 2014 08:40, Lester Caine wrote: > > Why would we need to build a hash of this object? It would provide > nothing of use since we have a clean object key. Some people seem to > think a hash will provide an indication that an object has changed, but > in reality that is also reliant on what information is imported when the > object is loaded. Nothing to do with when the object is changed. http://php.net/spl_object_hash