On Wed, Mar 10, 2004 at 04:48:06PM +0300, Burhan Khalid wrote:
> Kelly Hallman wrote:
> >Consider this method:
> >
> >    function xyz() {
> >        return $this->data = unserialize($this->serial); }
> >
> 
> Maybe I'm just being stupid, but wouldn't that simply return true if the 
> assignment was successful, and false otherwise?

no, the return-value of the assignment is the right side of the
assignment (the value that was assigned).
 
> [ trimmed ]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to