BG               4636 ext/phar/phar_object.c 	if (BG(CurrentLStatFile)) {
BG               4637 ext/phar/phar_object.c 		efree(BG(CurrentLStatFile));
BG               4640 ext/phar/phar_object.c 	if (BG(CurrentStatFile)) {
BG               4641 ext/phar/phar_object.c 		efree(BG(CurrentStatFile));
BG               4644 ext/phar/phar_object.c 	BG(CurrentLStatFile) = NULL;
BG               4645 ext/phar/phar_object.c 	BG(CurrentStatFile) = NULL;
BG                791 ext/spl/php_spl.c 		if (!BG(mt_rand_is_seeded)) {
BG                587 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG                588 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG                589 ext/standard/array.c 	BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
BG                590 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG                591 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
BG                608 ext/standard/array.c 		BG(user_compare_fci) = old_user_compare_fci; \
BG                609 ext/standard/array.c 		BG(user_compare_fci_cache) = old_user_compare_fci_cache; \
BG                625 ext/standard/array.c 	old_user_compare_fci = BG(user_compare_fci); \
BG                626 ext/standard/array.c 	old_user_compare_fci_cache = BG(user_compare_fci_cache); \
BG                627 ext/standard/array.c 	BG(user_compare_fci_cache) = empty_fcall_info_cache; \
BG                630 ext/standard/array.c 	BG(user_compare_fci) = old_user_compare_fci; \
BG                631 ext/standard/array.c 	BG(user_compare_fci_cache) = old_user_compare_fci_cache; \
BG                643 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "af", &array, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG                686 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "af", &array, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG                753 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG                754 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG                755 ext/standard/array.c 	BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
BG                756 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG                757 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
BG                782 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "af", &array, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               1055 ext/standard/array.c 	BG(array_walk_fci).retval_ptr_ptr = &retval_ptr;
BG               1056 ext/standard/array.c 	BG(array_walk_fci).param_count = userdata ? 3 : 2;
BG               1057 ext/standard/array.c 	BG(array_walk_fci).params = args;
BG               1058 ext/standard/array.c 	BG(array_walk_fci).no_separation = 0;
BG               1079 ext/standard/array.c 			orig_array_walk_fci = BG(array_walk_fci);
BG               1080 ext/standard/array.c 			orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1087 ext/standard/array.c 			BG(array_walk_fci) = orig_array_walk_fci;
BG               1088 ext/standard/array.c 			BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1095 ext/standard/array.c 			if (zend_call_function(&BG(array_walk_fci), &BG(array_walk_fci_cache) TSRMLS_CC) == SUCCESS) {
BG               1131 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1132 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1134 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Hf|z/", &array, &BG(array_walk_fci), &BG(array_walk_fci_cache), &userdata) == FAILURE) {
BG               1135 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1136 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1141 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1142 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1156 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1157 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1159 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Hf|z/", &array, &BG(array_walk_fci), &BG(array_walk_fci_cache), &userdata) == FAILURE) {
BG               1160 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1161 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1166 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1167 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               2799 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG               2800 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG               2801 ext/standard/array.c 	BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
BG               2802 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG               2804 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
BG               2851 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_spec, &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               3013 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               3014 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               3016 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               3017 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               3067 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               3068 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               3086 ext/standard/array.c 						BG(user_compare_fci) = *fci_data;
BG               3087 ext/standard/array.c 						BG(user_compare_fci_cache) = *fci_data_cache;
BG               3092 ext/standard/array.c 							BG(user_compare_fci) = *fci_key;
BG               3093 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_key_cache;
BG               3256 ext/standard/array.c 		if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "+f", &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               3430 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               3431 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               3433 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               3434 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               3484 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               3485 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               3510 ext/standard/array.c 							BG(user_compare_fci) = *fci_data;
BG               3511 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_data_cache;
BG               3517 ext/standard/array.c 								BG(user_compare_fci) = *fci_key;
BG               3518 ext/standard/array.c 								BG(user_compare_fci_cache) = *fci_key_cache;
BG               3441 ext/standard/basic_functions.c 	BG(rand_is_seeded) = 0;
BG               3442 ext/standard/basic_functions.c 	BG(mt_rand_is_seeded) = 0;
BG               3443 ext/standard/basic_functions.c 	BG(umask) = -1;
BG               3444 ext/standard/basic_functions.c 	BG(next) = NULL;
BG               3445 ext/standard/basic_functions.c 	BG(left) = -1;
BG               3446 ext/standard/basic_functions.c 	BG(user_tick_functions) = NULL;
BG               3447 ext/standard/basic_functions.c 	BG(user_filter_map) = NULL;
BG               3448 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3450 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3451 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3453 ext/standard/basic_functions.c 	memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
BG               3456 ext/standard/basic_functions.c 	memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)));
BG               3459 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry;
BG               3460 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3461 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3467 ext/standard/basic_functions.c 	if (BG(url_adapt_state_ex).tags) {
BG               3468 ext/standard/basic_functions.c 		zend_hash_destroy(BG(url_adapt_state_ex).tags);
BG               3469 ext/standard/basic_functions.c 		free(BG(url_adapt_state_ex).tags);
BG               3555 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class(TSRMLS_C);
BG               3713 ext/standard/basic_functions.c 	memset(BG(strtok_table), 0, 256);
BG               3715 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3716 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3717 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3719 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3720 ext/standard/basic_functions.c 	BG(strtok_zval) = NULL;
BG               3721 ext/standard/basic_functions.c 	BG(strtok_last) = NULL;
BG               3722 ext/standard/basic_functions.c 	BG(locale_string) = NULL;
BG               3723 ext/standard/basic_functions.c 	BG(array_walk_fci) = empty_fcall_info;
BG               3724 ext/standard/basic_functions.c 	BG(array_walk_fci_cache) = empty_fcall_info_cache;
BG               3725 ext/standard/basic_functions.c 	BG(user_compare_fci) = empty_fcall_info;
BG               3726 ext/standard/basic_functions.c 	BG(user_compare_fci_cache) = empty_fcall_info_cache;
BG               3727 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3728 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3729 ext/standard/basic_functions.c 	BG(page_inode) = -1;
BG               3730 ext/standard/basic_functions.c 	BG(page_mtime) = -1;
BG               3732 ext/standard/basic_functions.c 	if (zend_hash_init(&BG(putenv_ht), 1, NULL, (void (*)(void *)) php_putenv_destructor, 0) == FAILURE) {
BG               3736 ext/standard/basic_functions.c 	BG(user_shutdown_function_names) = NULL;
BG               3760 ext/standard/basic_functions.c 	if (BG(strtok_zval)) {
BG               3761 ext/standard/basic_functions.c 		zval_ptr_dtor(&BG(strtok_zval));
BG               3763 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3764 ext/standard/basic_functions.c 	BG(strtok_zval) = NULL;
BG               3766 ext/standard/basic_functions.c 	zend_hash_destroy(&BG(putenv_ht));
BG               3769 ext/standard/basic_functions.c 	if (BG(umask) != -1) {
BG               3770 ext/standard/basic_functions.c 		umask(BG(umask));
BG               3775 ext/standard/basic_functions.c 	if (BG(locale_string) != NULL) {
BG               3780 ext/standard/basic_functions.c 	STR_FREE(BG(locale_string));
BG               3781 ext/standard/basic_functions.c 	BG(locale_string) = NULL;
BG               3799 ext/standard/basic_functions.c 	if (BG(user_tick_functions)) {
BG               3800 ext/standard/basic_functions.c 		zend_llist_destroy(BG(user_tick_functions));
BG               3801 ext/standard/basic_functions.c 		efree(BG(user_tick_functions));
BG               3802 ext/standard/basic_functions.c 		BG(user_tick_functions) = NULL;
BG               3808 ext/standard/basic_functions.c  	BG(page_uid) = -1;
BG               3809 ext/standard/basic_functions.c  	BG(page_gid) = -1;
BG               4089 ext/standard/basic_functions.c 	zend_hash_del(&BG(putenv_ht), pe.key, pe.key_len+1);
BG               4128 ext/standard/basic_functions.c 		zend_hash_add(&BG(putenv_ht), pe.key, pe.key_len + 1, (void **) &pe, sizeof(putenv_entry), NULL);
BG               5029 ext/standard/basic_functions.c 	zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call TSRMLS_CC);
BG               5064 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5066 ext/standard/basic_functions.c 			zend_hash_apply(BG(user_shutdown_function_names), (apply_func_t) user_shutdown_function_call TSRMLS_CC);
BG               5076 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names))
BG               5078 ext/standard/basic_functions.c 			zend_hash_destroy(BG(user_shutdown_function_names));
BG               5079 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5080 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5083 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5084 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5116 ext/standard/basic_functions.c 		if (!BG(user_shutdown_function_names)) {
BG               5117 ext/standard/basic_functions.c 			ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5118 ext/standard/basic_functions.c 			zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5124 ext/standard/basic_functions.c 		zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL);
BG               5134 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5135 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5136 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5139 ext/standard/basic_functions.c 	return zend_hash_update(BG(user_shutdown_function_names), function_name, function_len, shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL) != FAILURE;
BG               5145 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5146 ext/standard/basic_functions.c 		return zend_hash_del_key_or_index(BG(user_shutdown_function_names), function_name, function_len, 0, HASH_DEL_KEY) != FAILURE;
BG               5155 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5156 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5157 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5160 ext/standard/basic_functions.c 	return zend_hash_next_index_insert(BG(user_shutdown_function_names), &shutdown_function_entry, sizeof(php_shutdown_function_entry), NULL) != FAILURE;
BG               5724 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5725 ext/standard/basic_functions.c 		BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
BG               5726 ext/standard/basic_functions.c 		zend_llist_init(BG(user_tick_functions),
BG               5736 ext/standard/basic_functions.c 	zend_llist_add_element(BG(user_tick_functions), &tick_fe);
BG               5753 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5764 ext/standard/basic_functions.c 	zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_function_compare);
BG               5925 ext/standard/basic_functions.c 		MAKE_STD_ZVAL(BG(active_ini_file_section));
BG               5926 ext/standard/basic_functions.c 		array_init(BG(active_ini_file_section));
BG               5927 ext/standard/basic_functions.c 		zend_symtable_update(Z_ARRVAL_P(arr), Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, &BG(active_ini_file_section), sizeof(zval *), NULL);
BG               5931 ext/standard/basic_functions.c 		if (BG(active_ini_file_section)) {
BG               5932 ext/standard/basic_functions.c 			active_arr = BG(active_ini_file_section);
BG               5964 ext/standard/basic_functions.c 		BG(active_ini_file_section) = NULL;
BG               6004 ext/standard/basic_functions.c 		BG(active_ini_file_section) = NULL;
BG                342 ext/standard/dir.c 	if (BG(CurrentStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentStatFile), strlen(BG(CurrentStatFile)))) {
BG                343 ext/standard/dir.c 		efree(BG(CurrentStatFile));
BG                344 ext/standard/dir.c 		BG(CurrentStatFile) = NULL;
BG                346 ext/standard/dir.c 	if (BG(CurrentLStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentLStatFile), strlen(BG(CurrentLStatFile)))) {
BG                347 ext/standard/dir.c 		efree(BG(CurrentLStatFile));
BG                348 ext/standard/dir.c 		BG(CurrentLStatFile) = NULL;
BG               1398 ext/standard/file.c 	if (BG(umask) == -1) {
BG               1399 ext/standard/file.c 		BG(umask) = oldumask;
BG                102 ext/standard/filestat.c 	BG(CurrentStatFile)=NULL;
BG                103 ext/standard/filestat.c 	BG(CurrentLStatFile)=NULL;
BG                110 ext/standard/filestat.c 	if (BG(CurrentStatFile)) {
BG                111 ext/standard/filestat.c 		efree (BG(CurrentStatFile));
BG                112 ext/standard/filestat.c 		BG(CurrentStatFile) = NULL;
BG                114 ext/standard/filestat.c 	if (BG(CurrentLStatFile)) {
BG                115 ext/standard/filestat.c 		efree (BG(CurrentLStatFile));
BG                116 ext/standard/filestat.c 		BG(CurrentLStatFile) = NULL;
BG                808 ext/standard/filestat.c 	if (BG(CurrentStatFile)) {
BG                809 ext/standard/filestat.c 		efree(BG(CurrentStatFile));
BG                810 ext/standard/filestat.c 		BG(CurrentStatFile) = NULL;
BG                812 ext/standard/filestat.c 	if (BG(CurrentLStatFile)) {
BG                813 ext/standard/filestat.c 		efree(BG(CurrentLStatFile));
BG                814 ext/standard/filestat.c 		BG(CurrentLStatFile) = NULL;
BG                 66 ext/standard/pageinfo.c 	if (BG(page_uid)==-1 || BG(page_gid)==-1) {
BG                 68 ext/standard/pageinfo.c 			BG(page_uid)   = pstat->st_uid;
BG                 69 ext/standard/pageinfo.c 			BG(page_gid)   = pstat->st_gid;
BG                 70 ext/standard/pageinfo.c 			BG(page_inode) = pstat->st_ino;
BG                 71 ext/standard/pageinfo.c 			BG(page_mtime) = pstat->st_mtime;
BG                 73 ext/standard/pageinfo.c 			BG(page_uid) = getuid();
BG                 74 ext/standard/pageinfo.c 			BG(page_gid) = getgid();
BG                 85 ext/standard/pageinfo.c 	return (BG(page_uid));
BG                 92 ext/standard/pageinfo.c 	return (BG(page_gid));
BG                161 ext/standard/pageinfo.c 	if (BG(page_inode) < 0) {
BG                164 ext/standard/pageinfo.c 		RETURN_LONG(BG(page_inode));
BG                172 ext/standard/pageinfo.c 	return BG(page_mtime);
BG                 27 ext/standard/php_incomplete_class.h 	BG(incomplete_class)
BG                 32 ext/standard/php_incomplete_class.h             Z_OBJCE_P(struc) == BG(incomplete_class)) {	\
BG                159 ext/standard/php_string.h #  define php_mblen(ptr, len) ((ptr) == NULL ? memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))): (int)mbrlen(ptr, len, &BG(mblen_state)))
BG                 58 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(serialize).level) { \
BG                 61 ext/standard/php_var.h 		if (!BG(serialize_lock)) { \
BG                 62 ext/standard/php_var.h 			BG(serialize).var_hash = (void *)(var_hash_ptr); \
BG                 63 ext/standard/php_var.h 			BG(serialize).level = 1; \
BG                 66 ext/standard/php_var.h 		(var_hash_ptr) = (php_serialize_data_t)BG(serialize).var_hash; \
BG                 67 ext/standard/php_var.h 		++BG(serialize).level; \
BG                 74 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(serialize).level) { \
BG                 78 ext/standard/php_var.h 		if (!--BG(serialize).level) { \
BG                 79 ext/standard/php_var.h 			zend_hash_destroy((php_serialize_data_t)BG(serialize).var_hash); \
BG                 80 ext/standard/php_var.h 			FREE_HASHTABLE((php_serialize_data_t)BG(serialize).var_hash); \
BG                 81 ext/standard/php_var.h 			BG(serialize).var_hash = NULL; \
BG                 89 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(unserialize).level) { \
BG                 91 ext/standard/php_var.h 		if (!BG(serialize_lock)) { \
BG                 92 ext/standard/php_var.h 			BG(unserialize).var_hash = (void *)(var_hash_ptr); \
BG                 93 ext/standard/php_var.h 			BG(unserialize).level = 1; \
BG                 96 ext/standard/php_var.h 		(var_hash_ptr) = (php_unserialize_data_t)BG(unserialize).var_hash; \
BG                 97 ext/standard/php_var.h 		++BG(unserialize).level; \
BG                104 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(unserialize).level) { \
BG                108 ext/standard/php_var.h 		if (!--BG(unserialize).level) { \
BG                111 ext/standard/php_var.h 			BG(unserialize).var_hash = NULL; \
BG                 44 ext/standard/rand.c 	BG(rand_seed) = (unsigned int) seed;
BG                 56 ext/standard/rand.c 	BG(rand_is_seeded) = 1;
BG                 66 ext/standard/rand.c 	if (!BG(rand_is_seeded)) {
BG                 71 ext/standard/rand.c 	ret = php_rand_r(&BG(rand_seed));
BG                179 ext/standard/rand.c 	register php_uint32 *state = BG(state);
BG                188 ext/standard/rand.c 	BG(left) = N;
BG                189 ext/standard/rand.c 	BG(next) = state;
BG                198 ext/standard/rand.c 	php_mt_initialize(seed, BG(state));
BG                202 ext/standard/rand.c 	BG(mt_rand_is_seeded) = 1;
BG                215 ext/standard/rand.c 	if (BG(left) == 0) {
BG                218 ext/standard/rand.c 	--BG(left);
BG                220 ext/standard/rand.c 	s1 = *BG(next)++;
BG                326 ext/standard/rand.c 	if (!BG(mt_rand_is_seeded)) {
BG               1264 ext/standard/string.c #define STRTOK_TABLE(p) BG(strtok_table)[(unsigned char) *p]
BG               1288 ext/standard/string.c 		if (BG(strtok_zval)) {
BG               1289 ext/standard/string.c 			zval_ptr_dtor(&BG(strtok_zval));
BG               1294 ext/standard/string.c 		BG(strtok_zval) = zv;
BG               1295 ext/standard/string.c 		BG(strtok_last) = BG(strtok_string) = Z_STRVAL_P(zv);
BG               1296 ext/standard/string.c 		BG(strtok_len) = str_len;
BG               1299 ext/standard/string.c 	p = BG(strtok_last); /* Where we start to search */
BG               1300 ext/standard/string.c 	pe = BG(strtok_string) + BG(strtok_len);
BG               1317 ext/standard/string.c 			BG(strtok_last) = NULL;
BG               1331 ext/standard/string.c 	if (p - BG(strtok_last)) {
BG               1333 ext/standard/string.c 		RETVAL_STRINGL(BG(strtok_last) + skipped, (p - BG(strtok_last)) - skipped, 1);
BG               1334 ext/standard/string.c 		BG(strtok_last) = p + 1;
BG               1337 ext/standard/string.c 		BG(strtok_last) = NULL;
BG               3420 ext/standard/string.c 	(void) snprintf(BG(str_ebuf), sizeof(php_basic_globals.str_ebuf), "Unknown error: %d", errnum);
BG               3421 ext/standard/string.c 	return(BG(str_ebuf));
BG               4435 ext/standard/string.c 				STR_FREE(BG(locale_string));
BG               4436 ext/standard/string.c 				BG(locale_string) = estrdup(retval);
BG                 98 ext/standard/syslog.c 	BG(syslog_device)=NULL;
BG                106 ext/standard/syslog.c 	BG(syslog_device) = NULL;
BG                121 ext/standard/syslog.c 	if (BG(syslog_device)) {
BG                122 ext/standard/syslog.c 		free(BG(syslog_device));
BG                123 ext/standard/syslog.c 		BG(syslog_device) = NULL;
BG                145 ext/standard/syslog.c 	if (BG(syslog_device)) {
BG                146 ext/standard/syslog.c 		free(BG(syslog_device));
BG                148 ext/standard/syslog.c 	BG(syslog_device) = zend_strndup(ident, ident_len);
BG                149 ext/standard/syslog.c 	if(BG(syslog_device) == NULL) {
BG                152 ext/standard/syslog.c 	openlog(BG(syslog_device), option, facility);
BG                166 ext/standard/syslog.c 	if (BG(syslog_device)) {
BG                167 ext/standard/syslog.c 		free(BG(syslog_device));
BG                168 ext/standard/syslog.c 		BG(syslog_device)=NULL;
BG                 53 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                880 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                904 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                915 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                929 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).url_app.len != 0) {
BG                936 ext/standard/url_scanner_ex.c 	} else if (BG(url_adapt_state_ex).url_app.len == 0) {
BG                937 ext/standard/url_scanner_ex.c 		url_adapt_state_ex_t *ctx = &BG(url_adapt_state_ex);
BG                962 ext/standard/url_scanner_ex.c 	if (! BG(url_adapt_state_ex).active) {
BG                965 ext/standard/url_scanner_ex.c 		BG(url_adapt_state_ex).active = 1;
BG                969 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).url_app.len != 0) {
BG                970 ext/standard/url_scanner_ex.c 		smart_str_appends(&BG(url_adapt_state_ex).url_app, PG(arg_separator).output);
BG                980 ext/standard/url_scanner_ex.c 	smart_str_appendl(&BG(url_adapt_state_ex).url_app, name, name_len);
BG                981 ext/standard/url_scanner_ex.c 	smart_str_appendc(&BG(url_adapt_state_ex).url_app, '=');
BG                982 ext/standard/url_scanner_ex.c 	smart_str_append(&BG(url_adapt_state_ex).url_app, &val);
BG                984 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "<input type=\"hidden\" name=\""); 
BG                985 ext/standard/url_scanner_ex.c 	smart_str_appendl(&BG(url_adapt_state_ex).form_app, name, name_len);
BG                986 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" value=\"");
BG                987 ext/standard/url_scanner_ex.c 	smart_str_append(&BG(url_adapt_state_ex).form_app, &val);
BG                988 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" />");
BG                998 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).form_app.len = 0;
BG                999 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).url_app.len = 0;
BG               1006 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).tags = NULL;
BG               1008 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).form_app.c = BG(url_adapt_state_ex).url_app.c = 0;
BG               1009 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).form_app.len = BG(url_adapt_state_ex).url_app.len = 0;
BG               1024 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).active = 0;
BG               1031 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).active) {
BG               1033 ext/standard/url_scanner_ex.c 		BG(url_adapt_state_ex).active = 0;
BG               1036 ext/standard/url_scanner_ex.c 	smart_str_free(&BG(url_adapt_state_ex).form_app);
BG               1037 ext/standard/url_scanner_ex.c 	smart_str_free(&BG(url_adapt_state_ex).url_app);
BG                129 ext/standard/user_filters.c 	if (BG(user_filter_map)) {
BG                130 ext/standard/user_filters.c 		zend_hash_destroy(BG(user_filter_map));
BG                131 ext/standard/user_filters.c 		efree(BG(user_filter_map));
BG                132 ext/standard/user_filters.c 		BG(user_filter_map) = NULL;
BG                303 ext/standard/user_filters.c 	if (FAILURE == zend_hash_find(BG(user_filter_map), (char*)filtername, len + 1, (void**)&fdat)) {
BG                320 ext/standard/user_filters.c 				if (SUCCESS == zend_hash_find(BG(user_filter_map), wildcard, strlen(wildcard) + 1, (void**)&fdat)) {
BG                602 ext/standard/user_filters.c 	if (!BG(user_filter_map)) {
BG                603 ext/standard/user_filters.c 		BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable));
BG                604 ext/standard/user_filters.c 		zend_hash_init(BG(user_filter_map), 5, NULL, (dtor_func_t) filter_item_dtor, 0);
BG                610 ext/standard/user_filters.c 	if (zend_hash_add(BG(user_filter_map), filtername, filtername_len + 1, (void*)fdat,
BG                799 ext/standard/var.c 					BG(serialize_lock)++;
BG                801 ext/standard/var.c 					BG(serialize_lock)--;
BG                438 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                440 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                667 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                669 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                677 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                697 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                699 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                713 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG               1930 main/streams/streams.c 			if (BG(CurrentLStatFile) && strcmp(path, BG(CurrentLStatFile)) == 0) {
BG               1931 main/streams/streams.c 				memcpy(ssb, &BG(lssb), sizeof(php_stream_statbuf));
BG               1935 main/streams/streams.c 			if (BG(CurrentStatFile) && strcmp(path, BG(CurrentStatFile)) == 0) {
BG               1936 main/streams/streams.c 				memcpy(ssb, &BG(ssb), sizeof(php_stream_statbuf));
BG               1949 main/streams/streams.c 					if (BG(CurrentLStatFile)) {
BG               1950 main/streams/streams.c 						efree(BG(CurrentLStatFile));
BG               1952 main/streams/streams.c 					BG(CurrentLStatFile) = estrdup(path);
BG               1953 main/streams/streams.c 					memcpy(&BG(lssb), ssb, sizeof(php_stream_statbuf));
BG               1955 main/streams/streams.c 					if (BG(CurrentStatFile)) {
BG               1956 main/streams/streams.c 						efree(BG(CurrentStatFile));
BG               1958 main/streams/streams.c 					BG(CurrentStatFile) = estrdup(path);
BG               1959 main/streams/streams.c 					memcpy(&BG(ssb), ssb, sizeof(php_stream_statbuf));