Using PHP functions in classes
<p>My application uses classes consisting of functions, functions normally use "return $var" with a result of their work. I am wondering, if instead of "return" I will echo the result
(an array) directly from within the function, is it acceptable? Just in some case it is more convenient for me. Thanks. </p>
