Re: A question about user defined function calling method

From: Date: Fri, 11 Apr 2003 05:51:01 +0000
Subject: Re: A question about user defined function calling method
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143451@lists.php.net to get a copy of this message
this is (currently) only possible with functions defined in extensions (written in C/C++). l0t3k "Mooncake ." <blurkings@hotmail.com> wrote in message news:BAY1-F109Qz8xckA1Qc00019476@hotmail.com... > 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¡A»PªB¤Í¦b½u¤W²á¤Ñ:  d ¼…¯&/WM= > b‘http://messenger.microsoft.com/tc >

« previous php.general (#143451) next »