Re: OO extensions compatibility between v4 and v5

From: Date: Wed, 25 Feb 2004 10:25:58 +0000
Subject: Re: OO extensions compatibility between v4 and v5
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-442@lists.php.net to get a copy of this message
Derick Rethans wrote:
On Tue, 24 Feb 2004, Chad Thatcher wrote:
php_stream_open_wrapper("centera://localhost/FE132B626A72C220FF", "rb", REPORT_ERRORS, NULL); or what I was originally thinking was to provide it only at the userland level: <?php ... open("centera://...") ... ?>
It's the same thing for PHP... You'll have to code exactly the same to achive this. regards, Derick Ok thanks, think its becoming clear now. I gather I will need to register a wrapper using php_register_url_stream_wrapper(). I hope once I have familiarised myself more with the existing code that uses this (I found it in ext/standard/basic_functions.c) you guys wont mind if I fire more questions your way as I am in unknown territory and under quite a bit of pressure to get this written soon.
Thanks for the direction. Chad.

« previous php.pecl.dev (#442) next »