Re: OO extensions compatibility between v4 and v5
| From: | Hartmut Holzgraefe | Date: | Tue, 24 Feb 2004 13:10:47 +0000 |
| Subject: | Re: OO extensions compatibility between v4 and v5 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-437@lists.php.net to get a copy of this message | ||
Chad Thatcher wrote:
1. I am considering extending the standard file operations in PHP to accept a Centera URI [e.g. open('centera://etc_etc_etc')] and was wondering if this would be an onerous task seeing as the file system in question is quite unlike other file systems out there. I'm only hoping it will be trivial as the file operations already support things like http:// which are very different too.The implementation of streams on the C level is documented in http://php.net/manual/en/streams.php If you do not need any external libraries to talk to that service you might want to try implementing your stream in pure PHP first and maybe port it to C later: http://php.net/stream-wrapper-register The WebDAV stream implementation was done this way, you can find it in PEAR package HTTP_WebDAV_Client -- Hartmut Holzgraefe <hartmut@php.net>