> both claims above don't make *any* sense to me, making me think > you still really do not know what you are doing :( O_O, wow, sorry... I did not write that like that...... What I meant to say was that I did use zend_fetch_list_dtor_id in RINIT at first, but I noticed that PHP was not calling RINIT. So then I migrated it MINIT, which is called when the module is loaded.
As for malloc/emalloc, I tried using malloc(sizeof(struct php_socket)); which did not work because gcc was erroring with "Incomplete datatype". I then re-read the Zend API function list and came across emalloc, which I had omitted when I first read it. So once I used emalloc, it worked. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php