Re: Invokation on __toString() for object used as array key
| From: | Leigh | Date: | Thu, 25 Sep 2014 07:44:23 +0000 |
| Subject: | Re: Invokation on __toString() for object used as array key | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77611@lists.php.net to get a copy of this message | ||
On 25 September 2014 08:40, Lester Caine <lester@lsces.co.uk> 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