Re: __string_value() crashes with return

From: Date: Thu, 31 Aug 2000 16:05:46 +0000
Subject: Re: __string_value() crashes with return
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-31467@lists.php.net to get a copy of this message
new unkonwn_class() echo $obj; prints out this:
This is what the "documentation" thing is for. :) imagine you?ve lost all your documents about you and your life (compiled, stand-alone stas), because
humans cannot read their minds (would be readable source then), they?ll have to talk and somebody?s going to ask you "hey stas what can you do" (echo $stas) and you echo "stas version 1.0 public methods: (string) explain_what_references_are() (string) bugfix((int) bugid)......." If it?s supported from language level (what __string_value() does) and users are held to use it this way, you could use it like a quick function reference without the need to study the docu (search for the docu) without having reviewed any docu (and having a general clue what stas is capable of) I can do $diff=$stas->bugfix(7002); andre' ;)

« previous php.dev (#31467) next »