shutdown_function_entry 1904 ext/session/session.c php_shutdown_function_entry shutdown_function_entry; shutdown_function_entry 1905 ext/session/session.c shutdown_function_entry.arg_count = 1; shutdown_function_entry 1906 ext/session/session.c shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), 1, 0); shutdown_function_entry 1908 ext/session/session.c ZVAL_STRING(&shutdown_function_entry.arguments[0], "session_register_shutdown"); shutdown_function_entry 1911 ext/session/session.c if (!register_user_shutdown_function("session_shutdown", sizeof("session_shutdown") - 1, &shutdown_function_entry)) { shutdown_function_entry 1912 ext/session/session.c zval_ptr_dtor(&shutdown_function_entry.arguments[0]); shutdown_function_entry 1913 ext/session/session.c efree(shutdown_function_entry.arguments); shutdown_function_entry 2396 ext/session/session.c php_shutdown_function_entry shutdown_function_entry; shutdown_function_entry 2405 ext/session/session.c shutdown_function_entry.arg_count = 1; shutdown_function_entry 2406 ext/session/session.c shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), 1, 0); shutdown_function_entry 2408 ext/session/session.c ZVAL_STRING(&shutdown_function_entry.arguments[0], "session_write_close"); shutdown_function_entry 2410 ext/session/session.c if (!append_user_shutdown_function(shutdown_function_entry)) { shutdown_function_entry 2411 ext/session/session.c zval_ptr_dtor(&shutdown_function_entry.arguments[0]); shutdown_function_entry 2412 ext/session/session.c efree(shutdown_function_entry.arguments); shutdown_function_entry 4883 ext/standard/basic_functions.c php_shutdown_function_entry *shutdown_function_entry = Z_PTR_P(zv); shutdown_function_entry 4885 ext/standard/basic_functions.c for (i = 0; i < shutdown_function_entry->arg_count; i++) { shutdown_function_entry 4886 ext/standard/basic_functions.c zval_ptr_dtor(&shutdown_function_entry->arguments[i]); shutdown_function_entry 4888 ext/standard/basic_functions.c efree(shutdown_function_entry->arguments); shutdown_function_entry 4889 ext/standard/basic_functions.c efree(shutdown_function_entry); shutdown_function_entry 4906 ext/standard/basic_functions.c php_shutdown_function_entry *shutdown_function_entry = Z_PTR_P(zv); shutdown_function_entry 4910 ext/standard/basic_functions.c if (!zend_is_callable(&shutdown_function_entry->arguments[0], 0, &function_name)) { shutdown_function_entry 4924 ext/standard/basic_functions.c &shutdown_function_entry->arguments[0], shutdown_function_entry 4926 ext/standard/basic_functions.c shutdown_function_entry->arg_count - 1, shutdown_function_entry 4927 ext/standard/basic_functions.c shutdown_function_entry->arguments + 1) == SUCCESS) shutdown_function_entry 5034 ext/standard/basic_functions.c php_shutdown_function_entry shutdown_function_entry; shutdown_function_entry 5038 ext/standard/basic_functions.c shutdown_function_entry.arg_count = ZEND_NUM_ARGS(); shutdown_function_entry 5040 ext/standard/basic_functions.c if (shutdown_function_entry.arg_count < 1) { shutdown_function_entry 5044 ext/standard/basic_functions.c shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), shutdown_function_entry.arg_count, 0); shutdown_function_entry 5046 ext/standard/basic_functions.c if (zend_get_parameters_array(ZEND_NUM_ARGS(), shutdown_function_entry.arg_count, shutdown_function_entry.arguments) == FAILURE) { shutdown_function_entry 5047 ext/standard/basic_functions.c efree(shutdown_function_entry.arguments); shutdown_function_entry 5052 ext/standard/basic_functions.c if (!zend_is_callable(&shutdown_function_entry.arguments[0], 0, &callback_name)) { shutdown_function_entry 5058 ext/standard/basic_functions.c efree(shutdown_function_entry.arguments); shutdown_function_entry 5066 ext/standard/basic_functions.c for (i = 0; i < shutdown_function_entry.arg_count; i++) { shutdown_function_entry 5067 ext/standard/basic_functions.c if (Z_REFCOUNTED(shutdown_function_entry.arguments[i])) Z_ADDREF(shutdown_function_entry.arguments[i]); shutdown_function_entry 5069 ext/standard/basic_functions.c zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry)); shutdown_function_entry 5077 ext/standard/basic_functions.c PHPAPI zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry) /* {{{ */ shutdown_function_entry 5084 ext/standard/basic_functions.c return zend_hash_str_update_mem(BG(user_shutdown_function_names), function_name, function_len, shutdown_function_entry, sizeof(php_shutdown_function_entry)) != NULL; shutdown_function_entry 5098 ext/standard/basic_functions.c PHPAPI zend_bool append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry) /* {{{ */ shutdown_function_entry 5105 ext/standard/basic_functions.c return zend_hash_next_index_insert_mem(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry)) != NULL; shutdown_function_entry 263 ext/standard/basic_functions.h PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry); shutdown_function_entry 265 ext/standard/basic_functions.h PHPAPI extern zend_bool append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry);