A question about User Defined Function
| From: | mooncake . | Date: | Thu, 10 Apr 2003 11:48:11 +0000 |
| Subject: | A question about User Defined Function | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16681@lists.php.net to get a copy of this message | ||
Hi,
I would like to ask, is that possible that when a user define a function, for example, abc()
The function will be auto detect how the user call the function? For simple example: $a=abc(), so that, the function will auto detect it, and then used by "Return" a value to the variable. If user call like this: abc(), the function will print the result, not "Returned"
Is that possible??
Thanks.
From,
Gordon
_________________________________________________________________
在您的行動裝置上傳送接收 Hotmail 郵件,請移至: http://zh-asiasms.mobile.msn.com