Re: Extending PHP to use our code.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Extending PHP to use our code. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13302@lists.php.net to get a copy of this message | ||
> Our source code is in C. I was wondering if I could hook up some function
> calls from PHP to our C functions.
>
> If possible, please advise me where I could find instructions on how that
> could be accomplished.
> Some examples would also help.
There are hundreds of examples. Just pick an existing PHP function that
is closest to the one you want to add in terms of arguments and return
values and use that as a template.
-Rasmus