BG                295 ext/pcre/php_pcre.c 		if (pce->locale == BG(locale_string) ||
BG                296 ext/pcre/php_pcre.c 		    (pce->locale && BG(locale_string) &&
BG                297 ext/pcre/php_pcre.c 		     ZSTR_LEN(pce->locale) == ZSTR_LEN(BG(locale_string)) &&
BG                298 ext/pcre/php_pcre.c 		     !memcmp(ZSTR_VAL(pce->locale), ZSTR_VAL(BG(locale_string)), ZSTR_LEN(pce->locale))) ||
BG                300 ext/pcre/php_pcre.c 		     ZSTR_LEN(BG(locale_string)) == 1 &&
BG                301 ext/pcre/php_pcre.c 		     ZSTR_VAL(BG(locale_string))[0] == 'C') ||
BG                302 ext/pcre/php_pcre.c 		    (!BG(locale_string) &&
BG                426 ext/pcre/php_pcre.c 	if (BG(locale_string) &&
BG                427 ext/pcre/php_pcre.c 	    (ZSTR_LEN(BG(locale_string)) != 1 || ZSTR_VAL(BG(locale_string))[0] != 'C')) {
BG                490 ext/pcre/php_pcre.c 	new_entry.locale = BG(locale_string) ?
BG                491 ext/pcre/php_pcre.c 		((GC_FLAGS(BG(locale_string)) & IS_STR_PERSISTENT) ?
BG                492 ext/pcre/php_pcre.c 			zend_string_copy(BG(locale_string)) :
BG                493 ext/pcre/php_pcre.c 			zend_string_init(ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)), 1)) :
BG               4623 ext/phar/phar_object.c 	if (BG(CurrentLStatFile)) {
BG               4624 ext/phar/phar_object.c 		efree(BG(CurrentLStatFile));
BG               4627 ext/phar/phar_object.c 	if (BG(CurrentStatFile)) {
BG               4628 ext/phar/phar_object.c 		efree(BG(CurrentStatFile));
BG               4631 ext/phar/phar_object.c 	BG(CurrentLStatFile) = NULL;
BG               4632 ext/phar/phar_object.c 	BG(CurrentStatFile) = NULL;
BG                770 ext/spl/php_spl.c 		if (!BG(mt_rand_is_seeded)) {
BG                988 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG                989 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG                990 ext/standard/array.c 	BG(user_compare_fci).retval = &retval;
BG                991 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG                992 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache)) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
BG               1010 ext/standard/array.c 		BG(user_compare_fci) = old_user_compare_fci; \
BG               1011 ext/standard/array.c 		BG(user_compare_fci_cache) = old_user_compare_fci_cache; \
BG               1027 ext/standard/array.c 	old_user_compare_fci = BG(user_compare_fci); \
BG               1028 ext/standard/array.c 	old_user_compare_fci_cache = BG(user_compare_fci_cache); \
BG               1029 ext/standard/array.c 	BG(user_compare_fci_cache) = empty_fcall_info_cache; \
BG               1032 ext/standard/array.c 	BG(user_compare_fci) = old_user_compare_fci; \
BG               1033 ext/standard/array.c 	BG(user_compare_fci_cache) = old_user_compare_fci_cache; \
BG               1044 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "a/f", &array, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               1116 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG               1117 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG               1118 ext/standard/array.c 	BG(user_compare_fci).retval = &retval;
BG               1119 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG               1120 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache)) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
BG               1434 ext/standard/array.c 	BG(array_walk_fci).retval = &retval;
BG               1435 ext/standard/array.c 	BG(array_walk_fci).param_count = userdata ? 3 : 2;
BG               1436 ext/standard/array.c 	BG(array_walk_fci).params = args;
BG               1437 ext/standard/array.c 	BG(array_walk_fci).no_separation = 0;
BG               1468 ext/standard/array.c 			orig_array_walk_fci = BG(array_walk_fci);
BG               1469 ext/standard/array.c 			orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1476 ext/standard/array.c 			BG(array_walk_fci) = orig_array_walk_fci;
BG               1477 ext/standard/array.c 			BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1487 ext/standard/array.c 			if (zend_call_function(&BG(array_walk_fci), &BG(array_walk_fci_cache)) == SUCCESS) {
BG               1532 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1533 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1536 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "H/f|z/", &array, &BG(array_walk_fci), &BG(array_walk_fci_cache), &userdata) == FAILURE) {
BG               1537 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1538 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1544 ext/standard/array.c 		Z_PARAM_FUNC(BG(array_walk_fci), BG(array_walk_fci_cache))
BG               1548 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1549 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1555 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1556 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1570 ext/standard/array.c 	orig_array_walk_fci = BG(array_walk_fci);
BG               1571 ext/standard/array.c 	orig_array_walk_fci_cache = BG(array_walk_fci_cache);
BG               1573 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "H/f|z/", &array, &BG(array_walk_fci), &BG(array_walk_fci_cache), &userdata) == FAILURE) {
BG               1574 ext/standard/array.c 		BG(array_walk_fci) = orig_array_walk_fci;
BG               1575 ext/standard/array.c 		BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               1580 ext/standard/array.c 	BG(array_walk_fci) = orig_array_walk_fci;
BG               1581 ext/standard/array.c 	BG(array_walk_fci_cache) = orig_array_walk_fci_cache;
BG               3832 ext/standard/array.c 	BG(user_compare_fci).param_count = 2;
BG               3833 ext/standard/array.c 	BG(user_compare_fci).params = args;
BG               3834 ext/standard/array.c 	BG(user_compare_fci).retval = &retval;
BG               3835 ext/standard/array.c 	BG(user_compare_fci).no_separation = 0;
BG               3837 ext/standard/array.c 	if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache)) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) {
BG               3882 ext/standard/array.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               4055 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               4056 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               4058 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               4059 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               4103 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               4104 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               4122 ext/standard/array.c 						BG(user_compare_fci) = *fci_data;
BG               4123 ext/standard/array.c 						BG(user_compare_fci_cache) = *fci_data_cache;
BG               4128 ext/standard/array.c 							BG(user_compare_fci) = *fci_key;
BG               4129 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_key_cache;
BG               4292 ext/standard/array.c 		if (zend_parse_parameters(ZEND_NUM_ARGS(), "+f", &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
BG               4477 ext/standard/array.c 		BG(user_compare_fci) = *fci_data;
BG               4478 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_data_cache;
BG               4480 ext/standard/array.c 		BG(user_compare_fci) = *fci_key;
BG               4481 ext/standard/array.c 		BG(user_compare_fci_cache) = *fci_key_cache;
BG               4527 ext/standard/array.c 			BG(user_compare_fci) = *fci_key;
BG               4528 ext/standard/array.c 			BG(user_compare_fci_cache) = *fci_key_cache;
BG               4553 ext/standard/array.c 							BG(user_compare_fci) = *fci_data;
BG               4554 ext/standard/array.c 							BG(user_compare_fci_cache) = *fci_data_cache;
BG               4560 ext/standard/array.c 								BG(user_compare_fci) = *fci_key;
BG               4561 ext/standard/array.c 								BG(user_compare_fci_cache) = *fci_key_cache;
BG               3452 ext/standard/basic_functions.c 	BG(rand_is_seeded) = 0;
BG               3453 ext/standard/basic_functions.c 	BG(mt_rand_is_seeded) = 0;
BG               3454 ext/standard/basic_functions.c 	BG(umask) = -1;
BG               3455 ext/standard/basic_functions.c 	BG(next) = NULL;
BG               3456 ext/standard/basic_functions.c 	BG(left) = -1;
BG               3457 ext/standard/basic_functions.c 	BG(user_tick_functions) = NULL;
BG               3458 ext/standard/basic_functions.c 	BG(user_filter_map) = NULL;
BG               3459 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3461 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3462 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3464 ext/standard/basic_functions.c 	memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex)));
BG               3467 ext/standard/basic_functions.c 	memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)));
BG               3470 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry;
BG               3471 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3472 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3566 ext/standard/basic_functions.c 	BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class();
BG               3729 ext/standard/basic_functions.c 	memset(BG(strtok_table), 0, 256);
BG               3731 ext/standard/basic_functions.c 	BG(serialize_lock) = 0;
BG               3732 ext/standard/basic_functions.c 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
BG               3733 ext/standard/basic_functions.c 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
BG               3735 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3736 ext/standard/basic_functions.c 	ZVAL_UNDEF(&BG(strtok_zval));
BG               3737 ext/standard/basic_functions.c 	BG(strtok_last) = NULL;
BG               3738 ext/standard/basic_functions.c 	BG(locale_string) = NULL;
BG               3739 ext/standard/basic_functions.c 	BG(locale_changed) = 0;
BG               3740 ext/standard/basic_functions.c 	BG(array_walk_fci) = empty_fcall_info;
BG               3741 ext/standard/basic_functions.c 	BG(array_walk_fci_cache) = empty_fcall_info_cache;
BG               3742 ext/standard/basic_functions.c 	BG(user_compare_fci) = empty_fcall_info;
BG               3743 ext/standard/basic_functions.c 	BG(user_compare_fci_cache) = empty_fcall_info_cache;
BG               3744 ext/standard/basic_functions.c 	BG(page_uid) = -1;
BG               3745 ext/standard/basic_functions.c 	BG(page_gid) = -1;
BG               3746 ext/standard/basic_functions.c 	BG(page_inode) = -1;
BG               3747 ext/standard/basic_functions.c 	BG(page_mtime) = -1;
BG               3749 ext/standard/basic_functions.c 	zend_hash_init(&BG(putenv_ht), 1, NULL, php_putenv_destructor, 0);
BG               3751 ext/standard/basic_functions.c 	BG(user_shutdown_function_names) = NULL;
BG               3775 ext/standard/basic_functions.c 	zval_ptr_dtor(&BG(strtok_zval));
BG               3776 ext/standard/basic_functions.c 	ZVAL_UNDEF(&BG(strtok_zval));
BG               3777 ext/standard/basic_functions.c 	BG(strtok_string) = NULL;
BG               3779 ext/standard/basic_functions.c 	zend_hash_destroy(&BG(putenv_ht));
BG               3782 ext/standard/basic_functions.c 	if (BG(umask) != -1) {
BG               3783 ext/standard/basic_functions.c 		umask(BG(umask));
BG               3788 ext/standard/basic_functions.c 	if (BG(locale_changed)) {
BG               3792 ext/standard/basic_functions.c 		if (BG(locale_string)) {
BG               3793 ext/standard/basic_functions.c 			zend_string_release(BG(locale_string));
BG               3794 ext/standard/basic_functions.c 			BG(locale_string) = NULL;
BG               3814 ext/standard/basic_functions.c 	if (BG(user_tick_functions)) {
BG               3815 ext/standard/basic_functions.c 		zend_llist_destroy(BG(user_tick_functions));
BG               3816 ext/standard/basic_functions.c 		efree(BG(user_tick_functions));
BG               3817 ext/standard/basic_functions.c 		BG(user_tick_functions) = NULL;
BG               3823 ext/standard/basic_functions.c  	BG(page_uid) = -1;
BG               3824 ext/standard/basic_functions.c  	BG(page_gid) = -1;
BG               4119 ext/standard/basic_functions.c 	zend_hash_str_del(&BG(putenv_ht), pe.key, pe.key_len);
BG               4158 ext/standard/basic_functions.c 		zend_hash_str_add_mem(&BG(putenv_ht), pe.key, pe.key_len, &pe, sizeof(putenv_entry));
BG               4975 ext/standard/basic_functions.c 	zend_llist_apply(BG(user_tick_functions), (llist_apply_func_t) user_tick_function_call);
BG               5005 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5007 ext/standard/basic_functions.c 			zend_hash_apply(BG(user_shutdown_function_names), user_shutdown_function_call);
BG               5017 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names))
BG               5019 ext/standard/basic_functions.c 			zend_hash_destroy(BG(user_shutdown_function_names));
BG               5020 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5021 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5024 ext/standard/basic_functions.c 			FREE_HASHTABLE(BG(user_shutdown_function_names));
BG               5025 ext/standard/basic_functions.c 			BG(user_shutdown_function_names) = NULL;
BG               5061 ext/standard/basic_functions.c 		if (!BG(user_shutdown_function_names)) {
BG               5062 ext/standard/basic_functions.c 			ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5063 ext/standard/basic_functions.c 			zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
BG               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));
BG               5079 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5080 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5081 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
BG               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;
BG               5090 ext/standard/basic_functions.c 	if (BG(user_shutdown_function_names)) {
BG               5091 ext/standard/basic_functions.c 		return zend_hash_str_del(BG(user_shutdown_function_names), function_name, function_len) != FAILURE;
BG               5100 ext/standard/basic_functions.c 	if (!BG(user_shutdown_function_names)) {
BG               5101 ext/standard/basic_functions.c 		ALLOC_HASHTABLE(BG(user_shutdown_function_names));
BG               5102 ext/standard/basic_functions.c 		zend_hash_init(BG(user_shutdown_function_names), 0, NULL, user_shutdown_function_dtor, 0);
BG               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;
BG               5679 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5680 ext/standard/basic_functions.c 		BG(user_tick_functions) = (zend_llist *) emalloc(sizeof(zend_llist));
BG               5681 ext/standard/basic_functions.c 		zend_llist_init(BG(user_tick_functions),
BG               5693 ext/standard/basic_functions.c 	zend_llist_add_element(BG(user_tick_functions), &tick_fe);
BG               5710 ext/standard/basic_functions.c 	if (!BG(user_tick_functions)) {
BG               5721 ext/standard/basic_functions.c 	zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_function_compare);
BG               5869 ext/standard/basic_functions.c 		array_init(&BG(active_ini_file_section));
BG               5870 ext/standard/basic_functions.c 		zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &BG(active_ini_file_section));
BG               5874 ext/standard/basic_functions.c 		if (Z_TYPE(BG(active_ini_file_section)) != IS_UNDEF) {
BG               5875 ext/standard/basic_functions.c 			active_arr = &BG(active_ini_file_section);
BG               5907 ext/standard/basic_functions.c 		ZVAL_UNDEF(&BG(active_ini_file_section));
BG               5946 ext/standard/basic_functions.c 		ZVAL_UNDEF(&BG(active_ini_file_section));
BG                349 ext/standard/dir.c 	if (BG(CurrentStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentStatFile), strlen(BG(CurrentStatFile)))) {
BG                350 ext/standard/dir.c 		efree(BG(CurrentStatFile));
BG                351 ext/standard/dir.c 		BG(CurrentStatFile) = NULL;
BG                353 ext/standard/dir.c 	if (BG(CurrentLStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentLStatFile), strlen(BG(CurrentLStatFile)))) {
BG                354 ext/standard/dir.c 		efree(BG(CurrentLStatFile));
BG                355 ext/standard/dir.c 		BG(CurrentLStatFile) = NULL;
BG               1427 ext/standard/file.c 	if (BG(umask) == -1) {
BG               1428 ext/standard/file.c 		BG(umask) = oldumask;
BG                 90 ext/standard/filestat.c 	BG(CurrentStatFile)=NULL;
BG                 91 ext/standard/filestat.c 	BG(CurrentLStatFile)=NULL;
BG                 98 ext/standard/filestat.c 	if (BG(CurrentStatFile)) {
BG                 99 ext/standard/filestat.c 		efree (BG(CurrentStatFile));
BG                100 ext/standard/filestat.c 		BG(CurrentStatFile) = NULL;
BG                102 ext/standard/filestat.c 	if (BG(CurrentLStatFile)) {
BG                103 ext/standard/filestat.c 		efree (BG(CurrentLStatFile));
BG                104 ext/standard/filestat.c 		BG(CurrentLStatFile) = NULL;
BG                796 ext/standard/filestat.c 	if (BG(CurrentStatFile)) {
BG                797 ext/standard/filestat.c 		efree(BG(CurrentStatFile));
BG                798 ext/standard/filestat.c 		BG(CurrentStatFile) = NULL;
BG                800 ext/standard/filestat.c 	if (BG(CurrentLStatFile)) {
BG                801 ext/standard/filestat.c 		efree(BG(CurrentLStatFile));
BG                802 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                 31 ext/standard/php_incomplete_class.h 	if (Z_OBJCE_P(struc) == BG(incomplete_class)) {	\
BG                160 ext/standard/php_string.h # define php_mblen(ptr, len) ((int) mbrlen(ptr, len, &BG(mblen_state)))
BG                161 ext/standard/php_string.h # define php_mb_reset() memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)))
BG                 65 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(serialize).level) { \
BG                 69 ext/standard/php_var.h 		if (!BG(serialize_lock)) { \
BG                 70 ext/standard/php_var.h 			BG(serialize).data = d; \
BG                 71 ext/standard/php_var.h 			BG(serialize).level = 1; \
BG                 74 ext/standard/php_var.h 		(d) = BG(serialize).data; \
BG                 75 ext/standard/php_var.h 		++BG(serialize).level; \
BG                 82 ext/standard/php_var.h 	if (BG(serialize_lock) || BG(serialize).level == 1) { \
BG                 86 ext/standard/php_var.h 	if (!BG(serialize_lock) && !--BG(serialize).level) { \
BG                 87 ext/standard/php_var.h 		BG(serialize).data = NULL; \
BG                 94 ext/standard/php_var.h 	if (BG(serialize_lock) || !BG(unserialize).level) { \
BG                 96 ext/standard/php_var.h 		if (!BG(serialize_lock)) { \
BG                 97 ext/standard/php_var.h 			BG(unserialize).data = (d); \
BG                 98 ext/standard/php_var.h 			BG(unserialize).level = 1; \
BG                101 ext/standard/php_var.h 		(d) = BG(unserialize).data; \
BG                102 ext/standard/php_var.h 		++BG(unserialize).level; \
BG                109 ext/standard/php_var.h 	if (BG(serialize_lock) || BG(unserialize).level == 1) { \
BG                113 ext/standard/php_var.h 	if (!BG(serialize_lock) && !--BG(unserialize).level) { \
BG                114 ext/standard/php_var.h 		BG(unserialize).data = 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               1330 ext/standard/string.c #define STRTOK_TABLE(p) BG(strtok_table)[(unsigned char) *p]
BG               1358 ext/standard/string.c 		zval_ptr_dtor(&BG(strtok_zval));
BG               1359 ext/standard/string.c 		ZVAL_STRINGL(&BG(strtok_zval), ZSTR_VAL(str), ZSTR_LEN(str));
BG               1360 ext/standard/string.c 		BG(strtok_last) = BG(strtok_string) = Z_STRVAL(BG(strtok_zval));
BG               1361 ext/standard/string.c 		BG(strtok_len) = ZSTR_LEN(str);
BG               1364 ext/standard/string.c 	p = BG(strtok_last); /* Where we start to search */
BG               1365 ext/standard/string.c 	pe = BG(strtok_string) + BG(strtok_len);
BG               1382 ext/standard/string.c 			BG(strtok_last) = NULL;
BG               1396 ext/standard/string.c 	if (p - BG(strtok_last)) {
BG               1398 ext/standard/string.c 		RETVAL_STRINGL(BG(strtok_last) + skipped, (p - BG(strtok_last)) - skipped);
BG               1399 ext/standard/string.c 		BG(strtok_last) = p + 1;
BG               1402 ext/standard/string.c 		BG(strtok_last) = NULL;
BG               3756 ext/standard/string.c 	(void) snprintf(BG(str_ebuf), sizeof(php_basic_globals.str_ebuf), "Unknown error: %d", errnum);
BG               3757 ext/standard/string.c 	return(BG(str_ebuf));
BG               4549 ext/standard/string.c 				BG(locale_changed) = 1;
BG               4551 ext/standard/string.c 					if (BG(locale_string)) {
BG               4552 ext/standard/string.c 						zend_string_release(BG(locale_string));
BG               4555 ext/standard/string.c 						BG(locale_string) = zend_string_copy(loc);
BG               4556 ext/standard/string.c 						RETURN_STR(BG(locale_string));
BG               4558 ext/standard/string.c 						BG(locale_string) = zend_string_init(retval, len, 0);
BG               4560 ext/standard/string.c 						RETURN_STR_COPY(BG(locale_string));
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                 58 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                910 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                936 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                947 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
BG                961 ext/standard/url_scanner_ex.c 	if (ZSTR_LEN(BG(url_adapt_state_ex).url_app.s) != 0) {
BG                968 ext/standard/url_scanner_ex.c 	} else if (ZSTR_LEN(BG(url_adapt_state_ex).url_app.s) == 0) {
BG                969 ext/standard/url_scanner_ex.c 		url_adapt_state_ex_t *ctx = &BG(url_adapt_state_ex);
BG                993 ext/standard/url_scanner_ex.c 	if (!BG(url_adapt_state_ex).active) {
BG                996 ext/standard/url_scanner_ex.c 		BG(url_adapt_state_ex).active = 1;
BG                999 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).url_app.s && ZSTR_LEN(BG(url_adapt_state_ex).url_app.s) != 0) {
BG               1000 ext/standard/url_scanner_ex.c 		smart_str_appends(&BG(url_adapt_state_ex).url_app, PG(arg_separator).output);
BG               1015 ext/standard/url_scanner_ex.c 	smart_str_append_smart_str(&BG(url_adapt_state_ex).url_app, &sname);
BG               1016 ext/standard/url_scanner_ex.c 	smart_str_appendc(&BG(url_adapt_state_ex).url_app, '=');
BG               1017 ext/standard/url_scanner_ex.c 	smart_str_append_smart_str(&BG(url_adapt_state_ex).url_app, &svalue);
BG               1019 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "<input type=\"hidden\" name=\"");
BG               1020 ext/standard/url_scanner_ex.c 	smart_str_append_smart_str(&BG(url_adapt_state_ex).form_app, &sname);
BG               1021 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" value=\"");
BG               1022 ext/standard/url_scanner_ex.c 	smart_str_append_smart_str(&BG(url_adapt_state_ex).form_app, &svalue);
BG               1023 ext/standard/url_scanner_ex.c 	smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" />");
BG               1033 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).form_app.s) {
BG               1034 ext/standard/url_scanner_ex.c 		ZSTR_LEN(BG(url_adapt_state_ex).form_app.s) = 0;
BG               1036 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).url_app.s) {
BG               1037 ext/standard/url_scanner_ex.c 		ZSTR_LEN(BG(url_adapt_state_ex).url_app.s) = 0;
BG               1045 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).tags = NULL;
BG               1047 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).form_app.s = BG(url_adapt_state_ex).url_app.s = NULL;
BG               1062 ext/standard/url_scanner_ex.c 	BG(url_adapt_state_ex).active = 0;
BG               1069 ext/standard/url_scanner_ex.c 	if (BG(url_adapt_state_ex).active) {
BG               1071 ext/standard/url_scanner_ex.c 		BG(url_adapt_state_ex).active = 0;
BG               1074 ext/standard/url_scanner_ex.c 	smart_str_free(&BG(url_adapt_state_ex).form_app);
BG               1075 ext/standard/url_scanner_ex.c 	smart_str_free(&BG(url_adapt_state_ex).url_app);
BG                120 ext/standard/user_filters.c 	if (BG(user_filter_map)) {
BG                121 ext/standard/user_filters.c 		zend_hash_destroy(BG(user_filter_map));
BG                122 ext/standard/user_filters.c 		efree(BG(user_filter_map));
BG                123 ext/standard/user_filters.c 		BG(user_filter_map) = NULL;
BG                283 ext/standard/user_filters.c 	if (NULL == (fdat = zend_hash_str_find_ptr(BG(user_filter_map), (char*)filtername, len))) {
BG                300 ext/standard/user_filters.c 				if (NULL != (fdat = zend_hash_str_find_ptr(BG(user_filter_map), wildcard, strlen(wildcard)))) {
BG                580 ext/standard/user_filters.c 	if (!BG(user_filter_map)) {
BG                581 ext/standard/user_filters.c 		BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable));
BG                582 ext/standard/user_filters.c 		zend_hash_init(BG(user_filter_map), 8, NULL, (dtor_func_t) filter_item_dtor, 0);
BG                588 ext/standard/user_filters.c 	if (zend_hash_add_ptr(BG(user_filter_map), filtername, fdat) != NULL &&
BG                869 ext/standard/var.c 					BG(serialize_lock)++;
BG                871 ext/standard/var.c 					BG(serialize_lock)--;
BG                471 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                473 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                707 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                710 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                717 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG                735 ext/standard/var_unserializer.c 		BG(serialize_lock)++;
BG                737 ext/standard/var_unserializer.c 			BG(serialize_lock)--;
BG                751 ext/standard/var_unserializer.c 		BG(serialize_lock)--;
BG               1926 main/streams/streams.c 			if (BG(CurrentLStatFile) && strcmp(path, BG(CurrentLStatFile)) == 0) {
BG               1927 main/streams/streams.c 				memcpy(ssb, &BG(lssb), sizeof(php_stream_statbuf));
BG               1931 main/streams/streams.c 			if (BG(CurrentStatFile) && strcmp(path, BG(CurrentStatFile)) == 0) {
BG               1932 main/streams/streams.c 				memcpy(ssb, &BG(ssb), sizeof(php_stream_statbuf));
BG               1945 main/streams/streams.c 					if (BG(CurrentLStatFile)) {
BG               1946 main/streams/streams.c 						efree(BG(CurrentLStatFile));
BG               1948 main/streams/streams.c 					BG(CurrentLStatFile) = estrdup(path);
BG               1949 main/streams/streams.c 					memcpy(&BG(lssb), ssb, sizeof(php_stream_statbuf));
BG               1951 main/streams/streams.c 					if (BG(CurrentStatFile)) {
BG               1952 main/streams/streams.c 						efree(BG(CurrentStatFile));
BG               1954 main/streams/streams.c 					BG(CurrentStatFile) = estrdup(path);
BG               1955 main/streams/streams.c 					memcpy(&BG(ssb), ssb, sizeof(php_stream_statbuf));
BG                184 sapi/phpdbg/phpdbg_wait.c 			if (BG(CurrentStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentStatFile), strlen(BG(CurrentStatFile)))) {
BG                185 sapi/phpdbg/phpdbg_wait.c 				efree(BG(CurrentStatFile));
BG                186 sapi/phpdbg/phpdbg_wait.c 				BG(CurrentStatFile) = NULL;
BG                188 sapi/phpdbg/phpdbg_wait.c 			if (BG(CurrentLStatFile) && !IS_ABSOLUTE_PATH(BG(CurrentLStatFile), strlen(BG(CurrentLStatFile)))) {
BG                189 sapi/phpdbg/phpdbg_wait.c 				efree(BG(CurrentLStatFile));
BG                190 sapi/phpdbg/phpdbg_wait.c 				BG(CurrentLStatFile) = NULL;