am i allowed to call php3_list_find in a registered destructior??
| From: | Thies C. Arntzen | Date: | Fri, 28 May 1999 17:56:00 +0000 |
| Subject: | am i allowed to call php3_list_find in a registered destructior?? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6190@lists.php.net to get a copy of this message | ||
i know i should not call hash_apply in a destructor function, but am i
allowed to call list_find (just check the existance of a list-entry)?
we still have the problem in oracle.c (maybe other modules) where
"connection" get closed BEFORE thier childs (in this case their
"cursors").
i would then "remember" the connection id in the cursor structure and only
call the corresponding oracle-close-cursor-funtions if the "connection" is
still valid (can be found thru php3_list_find). this would be OK as oracle
will automaticlly close all cursors for a connection if the connection
gets closed! and the php3 allocated memory could be freed in any case.
i would love to get the stuff sorted before 3.0.9
tc
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net