Hello herrwitten,
now i see your problem (at least i think i do).
the engine supports the following function types:
#define ZEND_INTERNAL_FUNCTION 1
#define ZEND_USER_FUNCTION 2
#define ZEND_OVERLOADED_FUNCTION
On Jul 2, 2005, at 12:07 PM, Marcus Boerger wrote:
i am quite sure your code is being called but it doesn't return a
function
pointer but instead return 0. To the engine that means the function
is not
available and hence it issues an error message. Maybe you want to
provide
and empty funct
Hello herrwitten,
i am quite sure your code is being called but it doesn't return a function
pointer but instead return 0. To the engine that means the function is not
available and hence it issues an error message. Maybe you want to provide
and empty function and execute that instead?
marcus
It would appear that the call_method object handler is never called.
When I call an undefined method, this is the code that is executed:
zend_vm_execute.h line 20655:
EX(fbc) = Z_OBJ_HT_P(EX(object))->get_method(&EX(object),
function_name_strval, function_name_strlen TSRMLS_CC);
if (!EX(fbc)
On Sat, 2 Jul 2005 [EMAIL PROTECTED] wrote:
> I am not sure if this is the proper list, but I need help in getting my
> handlers called via the zend API.
Best place I think would be pecl-dev@ I think. As for your problem...
put the sources online somewhere so that we can see what you're doing.
I am not sure if this is the proper list, but I need help in getting
my handlers called via the zend API.
I have just begun to make an extension, and I need to make use of the
call_method handler.
To see if I could hook in, I defined this:
static int call_method(char *method, INTERNAL_FUNC