RE: [PHP] Problem using return from a class.

From: Date: Tue, 08 Feb 2005 16:47:01 +0000
Subject: RE: [PHP] Problem using return from a class.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208264@lists.php.net to get a copy of this message
[snip] I am having a really odd problem. I have a class and if I do a return nothing is returned. If I do an echo of the variable that is being returned I can see it so there is something to return. Is there some strange bug in PHP? [/snip] What is it you are doing - are you echoing the call i.e. echo $myclass->function(); Or something else? Maybe you should post a bit of code to illustrate your problem ;)

« previous php.general (#208264) next »