Hello Pierre,

Sunday, June 4, 2006, 2:05:52 PM, you wrote:

> On 6/4/06, Marcus Boerger <[EMAIL PROTECTED]> wrote:

 >> Adding a function hash_from_object() or spl_hash_from object() to ease
>> > the generations of hashes is indeed a good idea. There is no impact in
>> > the objects managements and people are free to use it or not (no magic
>> > default behaviors).
>>
>> Hence i wrote "For PHP 5.2 we **could** think"...

> Yes, and what's the point of this answer?

You reply didn't sound like you understood what i wrote. Having a vote from
you makes your thoughts clear also i got it like that already.

And just in case anybody is interested in my voting:

~0 for any magic changes
~0 for __toHash/whatever will be the name of this method
+1 to keep $a[(string)$o]
+1 for an extra (and extern) function to get an unique hash of an object

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to