RE: [PHP-DEV] PHP Extension on Win32
| From: | Emanuel Dejanu | Date: | Thu, 03 Oct 2002 13:16:45 +0000 |
| Subject: | RE: [PHP-DEV] PHP Extension on Win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88980@lists.php.net to get a copy of this message | ||
Hi Markus,
Thanks for the response. I want to know the impact on the performance.
I will have ~1500 of definitions or I will have 10 classes from
which 2 have ~500 variabiles.
> -----Original Message-----
> From: Markus Fischer [mailto:mfischer@guru.josefine.at]
> Sent: 3 octombrie 2002 14:43
> To: Emanuel Dejanu
> Cc: php-dev@lists.php.net
> Subject: Re: [PHP-DEV] PHP Extension on Win32
>
>
> On Thu, Oct 03, 2002 at 01:28:52PM +0200, Emanuel Dejanu wrote :
> > I want to make a DLL private (closed source)
> > to be available in PHP language.
> > Is there any documentation on how to build a
> > custom module for PHP on Windows? I have developed
> > modules for PHP on Linux (closed source :-( ).
>
> Try http://www.php.net/manual/en/zend.php for a start.
> >
> > Also my DLL has 10 enumerations out of which 2 enumerations
> > have ~500 elemenents. What is the best way to export
> > these enumerations in PHP?
> > I have been thinking about two solutions:
> > 1) definitions, e.g. define('kSSSSSXXXX', 1)
> > 2) classes, e.g.
> >
> > class SSSSS {
> > var $kXXXX = 1;
> > };
>
> I think this depends upon you and the needs you try to
> satisfy with your extension.
>
> --
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> <rei_> Derick, while ($xml) $ass->get_new_ideas();
> <[James]> Markus: IE on_user_fart()????
> -- People doesn't seem to like the new XHTML2 specs :) --
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>