Re: [PHP-DEV] Re: Add \Reflection*::getHash()

2017-12-11 Thread Marco Pivetta
On 11 Dec 2017 04:04, "Andreas Hennings" wrote: So far this proposal only discusses reflections of PHP declarations / symbols. What would we do for e.g. ReflectionObject? Return the spl_object_hash()? Or return the hash of the instantiated class? Or a hash of the serialized object? We need to re

[PHP-DEV] Re: Add \Reflection*::getHash()

2017-12-10 Thread Andreas Hennings
On 11 December 2017 at 04:03, Andreas Hennings wrote: > So far this proposal only discusses reflections of PHP declarations / symbols. > > What would we do for e.g. ReflectionObject? > Return the spl_object_hash()? > Or return the hash of the instantiated class? > Or a hash of the serialized objec

[PHP-DEV] Re: Add \Reflection*::getHash()

2017-12-10 Thread Andreas Hennings
So far this proposal only discusses reflections of PHP declarations / symbols. What would we do for e.g. ReflectionObject? Return the spl_object_hash()? Or return the hash of the instantiated class? Or a hash of the serialized object? We need to return something, because ReflectionObject extends R