Re: A Windows extension

From: Date: Fri, 07 Nov 2003 11:39:00 +0000
Subject: Re: A Windows extension
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-188@lists.php.net to get a copy of this message
> I'm about to end an extension that implement several standard Win32 API > function that is useful when using PHP as a Windows scripting engine. Sounds interesting :-) This can be added to PECL, provided you use a compatible license (check the archives for more on this!). I would suggest using the PHP license. > This extension feature: > - res protocol read/write Using streams? > - PHP thread support (already working - but need improvements) I think that this is a losing battle (PHP just isn't designed to work that way). However, it would be cool if you can get something working. It would be better to have that effort put into the existing PECL threads package rather than a win32 extension. > - Any Win32 API function that users needs I have written an ffi extension that will replace the current unmaintained and broken w32api (and also work on many other platforms). You can then load any win32 api at runtime without the need for (re)compiling and worrying about the versioning of your win32std extension. I don't think it is wise to wrap every win32 API known to man; using something like ffi for those is probably better, unless there is significant demand for having a PHP native version. --Wez.

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