|
Posted by howa on 02/09/07 15:14
>
> No, it is not assigned to anything. The results are echoed and discarded,
> you are not using it's results again as you have not assigned it anywhere.
> Any variables within a function's scope are discarded on exit (unless
> declared static).
>
yes, it is echoed and discarded, but my point is:
you need to allocate extra memory for storing the output of md5, so
return by reference also make sense. (as well as your one above)
Navigation:
[Reply to this message]
|