Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???

Example:

function do_it()
{
   echo "hi";
}

--or--

function do_it()
{
   return echo "hi";
}

Also, if they do other things but really don't return anything, should they
return true maybe???

Just curious!
-Shawn

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

Reply via email to