Re: __string_value() crashes with return

From: Date: Wed, 30 Aug 2000 14:12:38 +0000
Subject: Re: __string_value() crashes with return
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-31259@lists.php.net to get a copy of this message
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

« previous php.dev (#31259) next »