[PHP-DEV] Re: [PECL-DEV] Re: [PHP-DEV] zend_object_handlers

2005-07-02 Thread herrwitten
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

Re: [PHP-DEV] zend_object_handlers

2005-07-02 Thread herrwitten
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)

[PHP-DEV] zend_object_handlers

2005-07-01 Thread herrwitten
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