Re: kick-off
| From: | chagenbu at wso dot williams dot edu | Date: | Tue, 29 Feb 2000 05:43:58 +0000 |
| Subject: | Re: kick-off | ||
| References: | 1 2 3 | Groups: | php.pear php.version4 |
| Request: | Send a blank email to php-version4+get-11173@lists.php.net to get a copy of this message | ||
Quoting Stig Bakken <Stig.Bakken@fast.no>:
> Backward compatibility with PHP 3 is out of the question. There are too
> many nice OO features in PHP 4 that should be exploited.
Okay, agreed there.
> This particular problem will arise for a whole bunch of built-in
> functions. One way to deal with it could be to make all these function
> interpret arrays as "method pointers":
>
> $obj = new MyClass;
> $mptr = array(&$obj, "myMethod");
> usort($arr, &$mptr);
Ugh. That's pretty ugly. Can't they be modified to accept class::method names? I
thought this was possible with php4/Zend...
-chuck