Re: [PHP4BETA] Adding a function to PHP4
| From: | Paul Dlug | Date: | Thu, 07 Oct 1999 14:46:21 +0000 |
| Subject: | Re: [PHP4BETA] Adding a function to PHP4 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5332@lists.php.net to get a copy of this message | ||
Sorry to trouble you again..but I just cannot see what to do..I have this in my
directory:
Makefile.am config.h.stub config.m4 orbita.c setup.stub
And my source file..I edited these files to include my source file and what
other options looked like they must be changed for my specific extension, but
I have no clue where to go from here.
Andrei Zmievski wrote:
> Paul Dlug wrote:
> > Thanks for the references to the apidoc.txt I think I understand how to
> write
> > PHP functions..however I don't understand how to actually build it into
> > PHP..could you or someone else explain? Thanks
>
> Look at one of the existing extensions to see how they provide module entries
> and function entries tables, e.g. wddx.
>
> Don't forget to call PHP_EXTENSION(myext) or something in your config.m4.
>
> -Andrei
> * A feature is a bug with seniority. *