Re: ext/helmpe: calling a php function (not user defined function)
| From: | Andreas Aderhold | Date: | Mon, 19 Nov 2001 23:06:34 +0000 |
| Subject: | Re: ext/helmpe: calling a php function (not user defined function) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70983@lists.php.net to get a copy of this message | ||
Hi Arne,
> Look in the ext/ catalogue of the php source, there is a
> script (ext-skel) there that will generate a sceleton for
> you to work with !
Cool, that worked. Thanks!
> Look at the code it generates and discover that it is not
> all that difficult :-)
Yeppers. But the problem I have is calling a Zend internal function from
withing the module. There are some macros like STD_PHP_INI_ENTRY etc, but I
found nothing about calling an internal function/language construct (in my
case require_once()).
Anyway, thanks a lot!
Best
Andi
--------
> > Im trying to write my first php extension. I studied the source and the
> api
> > docs, also read the chapter about hacking the core in the phpwizards
book.
> > But I can not find any resources on what I want to do: calling a php
> > function in a module.
>
> Look in the ext/ catalogue of the php source, there is a script (ext-skel)
> there that will generate a sceleton for you to work with !
> Look at the code it generates and discover that it is not all that
difficult
> :-)
>
>
> Best regards
> Arne
>
>