Re: Extension proposal: fdpass

From: Date: Wed, 27 Apr 2011 12:12:27 +0000
Subject: Re: Extension proposal: fdpass
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8188@lists.php.net to get a copy of this message
On Wed, 2011-04-27 at 13:13 +0200, Florian Wilkemeyer wrote: > Hi Jille, > > i had the same requirements and i wrote a simple function and added it > to the php sockets extension; > to be able to create a 'php-socket' from a FD number (in my case my > script gets forked from a webserver - which gives a acceptable pipe as > fd#0 to the proc..) > so it was possible to use the whole functionallity from php's socket > extension.. Might be a good idea. then one can figure out what the best approach for this is, maybe it's worth adding the functionality to the core ... > If there's any interest i would provide the patch here, > but its linux/unix based OS only.. no win32 :) We don't limit PHP (especially PECL) to what's possible on a platform, we try to unify were possible, while enabling system-specific things, too :-) johannes

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