Unknown list entry type in request shutdown

From: Date: Mon, 27 Mar 2000 14:30:48 +0000
Subject: Unknown list entry type in request shutdown
Groups: php.version4 
Request: Send a blank email to php-version4+get-12670@lists.php.net to get a copy of this message
Hello, I have a problem with the list destructor in a dynamic linked php-4pl1 module. I got the error message: Unknown list entry type in request shutdown (19) in Unknown on line 0 after each request in the error log. The Code works in the former PHP3 Module and I can't see a major difference to the code in ext/standard/dir.c. Here is the code: static int le_http; static void http_destructor(php_http_request *preq) { ... } PHP_MINIT_FUNCTION(http_init) { ... le_http = register_list_destructors(http_destructor,NULL); ... } DLEXPORT PHP_FUNCTION(http) { php_http_request *preq; int handle; ... preq = ... handle = zend_list_insert(preq, le_http); object_init_ex (return_value, http_class_entry_ptr); add_property_resource (return_value, "handle", handle); } Thank you in advance. tom -- Tom Anheyer G+J BerlinOnline GmbH Tel. : +49-(0)30-2327-5210 im Pressehaus am Alexanderplatz Fax: +49-(0)30-2327-5596 Karl-Liebknecht-Straße 29 E-Mail: Tom.Anheyer@BerlinOnline.de D-10178 Berlin URL: http://www.BerlinOnline.de BerlinOnline ist ein Service von Berliner Zeitung, TIP BerlinMagazin, Berliner Kurier und Berliner Abendblatt.

« previous php.version4 (#12670) next »