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: | Sat, 03 Jun 2000 14:41:47 +0000 |
| Subject: | 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 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-16108@lists.php.net to get a copy of this message | ||
At 10:29 AM 6/3/00 -0400, Chuck Hagenbuch wrote:
Quoting Zeev Suraski <zeev@php.net>:
- Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
This is great! But (you saw it coming), what about allowing static methods
also? Ie, Foo::sort().
I think what we should probably do is make the arrays format: array("classname", "methodname"); and not by object (or both)
Andi
---
Andi Gutmans <andi@zend.com>
http://www.zend.com/