Re: Missing __toString() part

From: Date: Sun, 04 Jun 2006 15:22:39 +0000
Subject: Re: Missing __toString() part
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  Groups: php.internals 
Request: Send a blank email to internals+get-23931@lists.php.net to get a copy of this message
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". -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.internals (#23931) next »