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
[email protected] (Andi Gutmans) Sat, 03 Jun 2000 17:41:47 +0300
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
At 10:29 AM 6/3/00 -0400, Chuck Hagenbuch wrote: >Quoting Zeev Suraski <[email protected]>: > > > - 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 <[email protected]> http://www.zend.com/