Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Jochem Maas
Nick Cooper schreef: > Thank you, I am now understanding this much better. > > Could you explain this though, if my understanding is correct the same > hash is used if the object no longer exists in memory. > > In that case the following should all have the same hash, but they > don't see output.

Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Nick Cooper
Thank you, I am now understanding this much better. Could you explain this though, if my understanding is correct the same hash is used if the object no longer exists in memory. In that case the following should all have the same hash, but they don't see output. class a1 {} $obi = new a1(); echo

Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Jochem Maas
Colin Guthrie schreef: > 'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble: >> Colin Guthrie schreef: >>> 'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble: Outputs: a1: 09d264fcececf51c822c9382b40e3edf a2: 45701af64172cbc2a33069dfed73fd07 >

Re: [PHP] Re: spl_object_hash not hashing unqiue objects BUG

2009-02-12 Thread Jochem Maas
Colin Guthrie schreef: > 'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble: >> Outputs: >> >> a1: 09d264fcececf51c822c9382b40e3edf >> a2: 45701af64172cbc2a33069dfed73fd07 >> a3: 09d264fcececf51c822c9382b40e3edf >> a4: 09d264fcececf51c822c9382b40e3edf >> >> Thanks let me know how