A question about user defined function calling method
| From: | mooncake . | Date: | Fri, 11 Apr 2003 04:45:15 +0000 |
| Subject: | A question about user defined function calling method | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143442@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
_________________________________________________________________
使用 MSN Messenger,與朋友在線上聊天: http://messenger.microsoft.com/tc