Re: Re: [PHP4BETA] cvs: php4 / NEWS TODO php4dllts.dsp php4ts.dsp /ext/mysql/libmysql/ libmysql.dsp /ext/standard/ array.c basic_functions.c
/sapi/apache/ php4apache.dsp /sapi/isapi/ php4isapi.dsp /sapi/nsapi/ php4nsapi.dsp
| From: | Andi Gutmans | Date: | Mon, 05 Jun 2000 19:22:03 +0000 |
| Subject: | Re: Re: [PHP4BETA] cvs: php4 / NEWS TODO php4dllts.dsp php4ts.dsp /ext/mysql/libmysql/ libmysql.dsp /ext/standard/ array.c basic_functions.c /sapi/apache/ php4apache.dsp /sapi/isapi/ php4isapi.dsp /sapi/nsapi/ php4nsapi.dsp |
||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20278@lists.php.net to get a copy of this message | ||
At 08:28 AM 6/5/00 -0500, Andrei Zmievski wrote:
On Mon, 05 Jun 2000, Thies C . Arntzen wrote: On Mon, Jun 05, 2000 at 08:16:30AM -0500, Andrei Zmievski wrote:Because strings are already used to call functions. I don't want to have to parse the string. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/On Sun, 04 Jun 2000, Thies C . Arntzen wrote:string thenHaving both is probably the right thing. Detect what the first array element is. If it's an object then use it as object; if it is aarray("Class" , "methodname") would be even cooler Why?How about this: array($obj, "methodname") will call $obj->methodname() "Class::methodname" will call that static methoduse it as the classname.yeah, baby!