Re: __string_value() crashes with return
| From: | thies at digicol dot de | Date: | Wed, 30 Aug 2000 14:18:13 +0000 |
| Subject: | Re: __string_value() crashes with return | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31260@lists.php.net to get a copy of this message | ||
On Wed, Aug 30, 2000 at 04:12:38PM +0200, André Langhorst wrote:
> > Aren´t one allowed to have return in __string_value()?
>
> you should return string-only! btw, return $this produces nice
> string-patterns (sometimes returning crashes, eg. property of some
> object) :)
>
> I´d say you should follow the rules and write some 'string' into it,
> even variables are not allowed I suppose
i'm for removing the __string_value() call alltogether!
tc
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany