Re: RFC: Comparable interface
| From: | Gustavo Lopes | Date: | Thu, 30 Sep 2010 14:36:20 +0000 |
| Subject: | Re: RFC: Comparable interface | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49813@lists.php.net to get a copy of this message | ||
On Thu, 30 Sep 2010 15:26:17 +0100, Johannes Schlüter <johannes@schlueters.de> wrote:
On Thu, 2010-09-30 at 16:08 +0200, Kalle Sommer Nielsen wrote:Right. Saying this is the way the Countable interface is implemented like is said in the RFC is not really a valid argument, since the engine knows nothing about that interface, only the "count" function (which is in the standard extension) does. -- Gustavo LopesI think its a great addition, but I think the interface should be defined within ZE like the other base interfaces that interact directly with the language syntax (like Iterator) and not in SPL.s/should/has to/ The engine shall not depend on anthing in PHP. In theory you should be able to do cd Zend && ./buildconf && ./configure && make to built a PHP-less engine (needs TSRM somewhere though).