BG               4676 ext/phar/phar_object.c 	if (BG(CurrentLStatFile)) {
BG               4677 ext/phar/phar_object.c 		efree(BG(CurrentLStatFile));
BG               4680 ext/phar/phar_object.c 	if (BG(CurrentStatFile)) {
BG               4681 ext/phar/phar_object.c 		efree(BG(CurrentStatFile));
BG               4684 ext/phar/phar_object.c 	BG(CurrentLStatFile) = NULL;
BG               4685 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               1054 ext/standard/array.c 	BG(array_walk_fci).retval_ptr_ptr = &retval_ptr;
BG               1055 ext/standard/array.c 	BG(array_walk_fci).param_count = userdata ? 3 : 2;
BG               1056 ext/standard/array.c 	BG(array_walk_fci).params = args;
BG               1057 ext/standard/array.c 	BG(array_walk_fci).no_separation = 0;
BG               1078 ext/standard/array.c 			orig_array_walk_fci = BG(array_walk_fci);
BG               1079 ext/standard/array.c 			orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1086 ext/standard/array.c 			BG(array_walk_fci) = orig_array_walk_fci;
BG               1087 ext/standard/array.c 			BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1094 ext/standard/array.c 			if (zend_call_function(&BG(array_walk_fci), &BG(array_walk_fci_cache) TSRMLS_CC) == SUCCESS) {
BG               1130 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1131 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1133 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               1134 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1135 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1140 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1141 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1155 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1156 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1158 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               1159 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1160 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1165 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1166 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               2930 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG               2931 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG               2932 ext/standard/array.c 	BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
BG               2933 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG               2935 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
BG               2982 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               3144 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               3145 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               3147 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               3148 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               3198 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               3199 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               3217 ext/standard/array.c 						BG(user_compare_fci) = *fci_data;
BG               3218 ext/standard/array.c 						BG(user_compare_fci_cache) = *fci_data_cache;
BG               3223 ext/standard/array.c 							BG(user_compare_fci) = *fci_key;
BG               3224 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_key_cache;
BG               3387 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               3561 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               3562 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               3564 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               3565 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               3615 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               3616 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               3641 ext/standard/array.c 							BG(user_compare_fci) = *fci_data;
BG               3642 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_data_cache;
BG               3648 ext/standard/array.c 								BG(user_compare_fci) = *fci_key;
BG               3649 ext/standard/array.c 								BG(user_compare_fci_cache) = *fci_key_cache;
BG               3470 ext/standard/basic_functions.c 	BG(rand_is_seeded) = 0;
BG               3471 ext/standard/basic_functions.c 	BG(mt_rand_is_seeded) = 0;
BG               3472 ext/standard/basic_functions.c 	BG(umask) = -1;
BG               3473 ext/standard/basic_functions.c 	BG(next) = NULL;
BG               3474 ext/standard/basic_functions.c 	BG(left) = -1;
BG               3475 ext/standard/basic_functions.c 	BG(user_tick_functions) = NULL;
BG               3476 ext/standard/basic_functions.c 	BG(user_filter_map) = NULL;
BG               3477 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3479 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3480 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3482 ext/standard/basic_functions.c 	memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
BG               3485 ext/standard/basic_functions.c 	memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)));
BG               3488 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry;
BG               3489 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3490 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3496 ext/standard/basic_functions.c 	if (BG(url_adapt_state_ex).tags) {
BG               3497 ext/standard/basic_functions.c 		zend_hash_destroy(BG(url_adapt_state_ex).tags);
BG               3498 ext/standard/basic_functions.c 		free(BG(url_adapt_state_ex).tags);
BG               3584 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class(TSRMLS_C);
BG               3741 ext/standard/basic_functions.c 	memset(BG(strtok_table), 0, 256);
BG               3743 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3744 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3745 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3747 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3748 ext/standard/basic_functions.c 	BG(strtok_zval) = NULL;
BG               3749 ext/standard/basic_functions.c 	BG(strtok_last) = NULL;
BG               3750 ext/standard/basic_functions.c 	BG(locale_string) = NULL;
BG               3751 ext/standard/basic_functions.c 	BG(array_walk_fci) = empty_fcall_info;
BG               3752 ext/standard/basic_functions.c 	BG(array_walk_fci_cache) = empty_fcall_info_cache;
BG               3753 ext/standard/basic_functions.c 	BG(user_compare_fci) = empty_fcall_info;
BG               3754 ext/standard/basic_functions.c 	BG(user_compare_fci_cache) = empty_fcall_info_cache;
BG               3755 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3756 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3757 ext/standard/basic_functions.c 	BG(page_inode) = -1;
BG               3758 ext/standard/basic_functions.c 	BG(page_mtime) = -1;
BG               3760 ext/standard/basic_functions.c 	if (zend_hash_init(&BG(putenv_ht), 1, NULL, (void (*)(void *)) php_putenv_destructor, 0) == FAILURE) {
BG               3764 ext/standard/basic_functions.c 	BG(user_shutdown_function_names) = NULL;
BG               3788 ext/standard/basic_functions.c 	if (BG(strtok_zval)) {
BG               3789 ext/standard/basic_functions.c 		zval_ptr_dtor(&BG(strtok_zval));
BG               3791 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3792 ext/standard/basic_functions.c 	BG(strtok_zval) = NULL;
BG               3794 ext/standard/basic_functions.c 	zend_hash_destroy(&BG(putenv_ht));
BG               3797 ext/standard/basic_functions.c 	if (BG(umask) != -1) {
BG               3798 ext/standard/basic_functions.c 		umask(BG(umask));
BG               3803 ext/standard/basic_functions.c 	if (BG(locale_string) != NULL) {
BG               3808 ext/standard/basic_functions.c 	STR_FREE(BG(locale_string));
BG               3809 ext/standard/basic_functions.c 	BG(locale_string) = NULL;
BG               3827 ext/standard/basic_functions.c 	if (BG(user_tick_functions)) {
BG               3828 ext/standard/basic_functions.c 		zend_llist_destroy(BG(user_tick_functions));
BG               3829 ext/standard/basic_functions.c 		efree(BG(user_tick_functions));
BG               3830 ext/standard/basic_functions.c 		BG(user_tick_functions) = NULL;
BG               3836 ext/standard/basic_functions.c  	BG(page_uid) = -1;
BG               3837 ext/standard/basic_functions.c  	BG(page_gid) = -1;
BG               4117 ext/standard/basic_functions.c 	zend_hash_del(&BG(putenv_ht), pe.key, pe.key_len+1);
BG               4156 ext/standard/basic_functions.c 		zend_hash_add(&BG(putenv_ht), pe.key, pe.key_len + 1, (void **) &pe, sizeof(putenv_entry), NULL);
BG               5057 ext/standard/basic_functions.c 	zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call TSRMLS_CC);
BG               5092 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5094 ext/standard/basic_functions.c 			zend_hash_apply(BG(user_shutdown_function_names), (apply_func_t) user_shutdown_function_call TSRMLS_CC);
BG               5104 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names))
BG               5106 ext/standard/basic_functions.c 			zend_hash_destroy(BG(user_shutdown_function_names));
BG               5107 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5108 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5111 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5112 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5144 ext/standard/basic_functions.c 		if (!BG(user_shutdown_function_names)) {
BG               5145 ext/standard/basic_functions.c 			ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5146 ext/standard/basic_functions.c 			zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5152 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               5162 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5163 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5164 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5167 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               5173 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5174 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               5183 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5184 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5185 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, (void (*)(void *)) user_shutdown_function_dtor, 0);
BG               5188 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               5752 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5753 ext/standard/basic_functions.c 		BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
BG               5754 ext/standard/basic_functions.c 		zend_llist_init(BG(user_tick_functions),
BG               5764 ext/standard/basic_functions.c 	zend_llist_add_element(BG(user_tick_functions), &tick_fe);
BG               5781 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5792 ext/standard/basic_functions.c 	zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_function_compare);
BG               5953 ext/standard/basic_functions.c 		MAKE_STD_ZVAL(BG(active_ini_file_section));
BG               5954 ext/standard/basic_functions.c 		array_init(BG(active_ini_file_section));
BG               5955 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               5959 ext/standard/basic_functions.c 		if (BG(active_ini_file_section)) {
BG               5960 ext/standard/basic_functions.c 			active_arr = BG(active_ini_file_section);
BG               5992 ext/standard/basic_functions.c 		BG(active_ini_file_section) = NULL;
BG               6032 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               1394 ext/standard/file.c 	if (BG(umask) == -1) {
BG               1395 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               1269 ext/standard/string.c #define STRTOK_TABLE(p) BG(strtok_table)[(unsigned char) *p]
BG               1293 ext/standard/string.c 		if (BG(strtok_zval)) {
BG               1294 ext/standard/string.c 			zval_ptr_dtor(&BG(strtok_zval));
BG               1299 ext/standard/string.c 		BG(strtok_zval) = zv;
BG               1300 ext/standard/string.c 		BG(strtok_last) = BG(strtok_string) = Z_STRVAL_P(zv);
BG               1301 ext/standard/string.c 		BG(strtok_len) = str_len;
BG               1304 ext/standard/string.c 	p = BG(strtok_last); /* Where we start to search */
BG               1305 ext/standard/string.c 	pe = BG(strtok_string) + BG(strtok_len);
BG               1322 ext/standard/string.c 			BG(strtok_last) = NULL;
BG               1336 ext/standard/string.c 	if (p - BG(strtok_last)) {
BG               1338 ext/standard/string.c 		RETVAL_STRINGL(BG(strtok_last) + skipped, (p - BG(strtok_last)) - skipped, 1);
BG               1339 ext/standard/string.c 		BG(strtok_last) = p + 1;
BG               1342 ext/standard/string.c 		BG(strtok_last) = NULL;
BG               3425 ext/standard/string.c 	(void) snprintf(BG(str_ebuf), sizeof(php_basic_globals.str_ebuf), "Unknown error: %d", errnum);
BG               3426 ext/standard/string.c 	return(BG(str_ebuf));
BG               4440 ext/standard/string.c 				STR_FREE(BG(locale_string));
BG               4441 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                802 ext/standard/var.c 					BG(serialize_lock)++;
BG                804 ext/standard/var.c 					BG(serialize_lock)--;
BG                443 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                445 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                672 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                674 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                682 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                702 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                704 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                718 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));