Re: __string_value() crashes with return
| From: | Stanislav Malyshev | Date: | Thu, 31 Aug 2000 16:13:07 +0000 |
| Subject: | Re: __string_value() crashes with return | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31463@lists.php.net to get a copy of this message | ||
AL>> imagine you?ve lost all your documents about you and your life
AL>> (compiled, stand-alone stas), because
AL>> humans cannot read their minds (would be readable source then), they?ll
AL>> have to talk and somebody?s
AL>> going to ask you "hey stas what can you do" (echo $stas) and you echo
I'd most probably lie a lot in such a situation. Why to lose chance to
claim Louvre ownership, some island on Hawaii and UN Chairman
(or World President) position? ;)
Seriously, you shouldn't trust classes to be self-documenting -
self-documentation can be as broken and out-of-date as detached one. And
then again, you can just make Describe() method for every class, that's
it.
--
Stanislav Malyshev stas@zend.com http://www.zend.com/
+972-3-6139665 ext.106