[horde] Wrong return statements?

Chuck Hagenbuch chuck at horde.org
Thu Apr 17 20:31:56 UTC 2008


Quoting Christoph Fauck <christoph.fauck at fauck.info>:

> If I understand php correctly, the statement
>
> return $root = new anyclass();
>
> returns the success state true/false, if the class was instantiated
> corrrectly. I got some errors, cleanable by
>
> $root = new anyclass();
> return $root;

And what year is the Horde version you have from?

-chuck

-- 
"I have concerns that we are not behaving like a mature, responsible,  
collection of interdependent organisms." - Rick O.


More information about the horde mailing list