Re: Where to start ?
| From: | Robert Twitty | Date: | Tue, 14 Oct 2003 18:42:12 +0000 |
| Subject: | Re: Where to start ? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-124@lists.php.net to get a copy of this message | ||
On Tue, 14 Oct 2003, Marco Del Tongo wrote:
> Hi all,
>
> wanting to start developing an extension for PHP5 where can i find info ?
>
If the API for building extensions under PHP5 is the same for PHP4 then I
can give you some advice.
1. I used ext_skel to build the skeleton for my extension.
2. Read the API manual.
3. Looked at the code and config files for some of the extensions bundled
with PHP.
The result of all this work was ODBTP. I created a C library and then a
PHP wrapper for the library. You can obtain the code for it at
http://odbtp.sourceforge.net.
Have fun!
-- bob
> since it is a wrapper around a C library do you know if SWIG is usable or
> not ?
>
> is Visual C the only windows compiler supported ? what about mingw ?
>
> thank you,
> Marco Del Tongo
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>