At 08:22 AM 6/4/2006, Stanislav Malyshev wrote:
MB>> the classname doesn't help, it is the handler that you need. In
MB>>theory you can have two objects with the same id and classname but not
MB>>with the same id and handler table.
Yes, theoretically you could have two modules returning same class names
for their objects, though it would be extremely bad practice to do it.
Bigger problem is, however, that object handler doesn't really have to
give you any meaningful class name at all - for all it worth it can always
return something like "No class name".
We should probably make this a requirement and I don't know of one
today that doesn't have an associated class name. I believe some
parts of PHP might blow up if this isn't supported.
Andi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php