Ora_close processing question.

From: Date: Tue, 11 Apr 2000 13:43:07 +0000
Subject: Ora_close processing question.
Groups: php.dev 
Request: Send a blank email to php-dev+get-17800@lists.php.net to get a copy of this message
Hi, I have simple and quick question: Will this code (taken from oracle.c) close oracle cursor ? Is it done immediately via shutdown function or it is done at the end of request processing ? PHP_FUNCTION(ora_close) { /* conn_index */ pval **arg; oraCursor *cursor; if (zend_get_parameters_ex(1, &arg) == FAILURE) { WRONG_PARAM_COUNT; } ZEND_FETCH_RESOURCE(cursor, oraCursor *, arg, -1, "Oracle-Cursor", le_cursor ); zend_list_delete((*arg)->value.lval); RETURN_TRUE; } Best regards, KIR

« previous php.dev (#17800) next »