RE: Problem using return from a class.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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 ;)

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux