Hello,
I've been messing around with my own PHP extension for a couple of days
now (I was pleasantly surprised to find how easy it was to write one!),
one I've been meaning to write for over a year and I had a couple of
questions I hope I can get some help on:
i) is it possible to call other
2 8:33 PM
Subject: [PHP-DEV] Calling other PHP functions from your extension
> Hello,
>
> I've been messing around with my own PHP extension for a couple of days
> now (I was pleasantly surprised to find how easy it was to write one!),
> one I've been meaning to write for
> Take a look at http://www.php.net/manual/en/zend.calling-user-functions.php
> I guess that's what you need.
Hmmm. I'm not sure, but I thought this was about calling user-defined
functions, not existing PHP module functions. Looking at my last email,
I probably wasn't clear enough :P I don't w
should read TSRMLS_FETCH, not TSRMSLS_FETCH (don't forget this macro or you
will loose the thread safe context).
Fab.
- Original Message -
From: "Andrew Patterson" <[EMAIL PROTECTED]>
To: "fabwash" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sun
> Well have you tried it?
No :) I just got your email last night and responded, I intended to try
this morning.
> Use the same example, and instead of putting "test_function", put "phpinfo",
> or any php function that doesn't take parameters, and see the result, it
> works!
I'll do that right