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 should have read my mail as: -1 for any magic changes +1 to keep $a[(string)$o] -1 for __toHash/whatever will be the name of this method +0 for an extra (and extern) function to get an unique hash of an object --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php