PS                158 ext/session/mod_files.c 			PS(invalid_session_id) = 1;
PS                254 ext/session/mod_mm.c 	int save_path_len = strlen(PS(save_path));
PS                272 ext/session/mod_mm.c 	memcpy(ps_mm_path, PS(save_path), save_path_len);
PS                273 ext/session/mod_mm.c 	if (PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) {
PS                212 ext/session/php_session.h 	if (PS(http_session_vars)) {											\
PS                213 ext/session/php_session.h 		zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);	\
PS                225 ext/session/php_session.h 		HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
PS                 89 ext/session/session.c 	if (PS(session_status) == php_session_active) {	\
PS                111 ext/session/session.c 	PS(mod) = tmp;
PS                121 ext/session/session.c 		PS(use_trans_sid) = (zend_bool) 1;
PS                123 ext/session/session.c 		PS(use_trans_sid) = (zend_bool) atoi(new_value);
PS                146 ext/session/session.c 	PS(serializer) = tmp;
PS                233 ext/session/session.c 	if (PS(http_session_vars) && PS(http_session_vars)->type == IS_ARRAY)
PS                319 ext/session/session.c 		zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1,
PS                333 ext/session/session.c 			if ((Z_TYPE_PP(sym_global) == IS_ARRAY && Z_ARRVAL_PP(sym_global) == &EG(symbol_table)) || *sym_global == PS(http_session_vars)) {
PS                344 ext/session/session.c 			zend_set_hash_symbol(empty_var, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table));
PS                350 ext/session/session.c 			zend_set_hash_symbol(*sym_global, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars)));
PS                357 ext/session/session.c 			ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0);
PS                367 ext/session/session.c 			if ((Z_TYPE_PP(old_symbol) == IS_ARRAY && Z_ARRVAL_PP(old_symbol) == &EG(symbol_table)) || *old_symbol == PS(http_session_vars)) {
PS                396 ext/session/session.c 			zend_set_hash_symbol(*old_symbol, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars)));
PS                398 ext/session/session.c 			zend_set_hash_symbol(state_val, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table));
PS                401 ext/session/session.c 		zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_session_vars)));
PS                410 ext/session/session.c 		ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name,
PS                493 ext/session/session.c 			if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) {
PS                581 ext/session/session.c 			if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) {
PS                613 ext/session/session.c 	if (PS(http_session_vars)) {
PS                614 ext/session/session.c 		zval_ptr_dtor(&PS(http_session_vars));
PS                619 ext/session/session.c 	PS(http_session_vars) = session_vars;
PS                622 ext/session/session.c 		ZEND_SET_GLOBAL_VAR_WITH_LENGTH("HTTP_SESSION_VARS", sizeof("HTTP_SESSION_VARS"), PS(http_session_vars), 3, 1);
PS                623 ext/session/session.c 		ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 3, 1);
PS                626 ext/session/session.c 		ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1);
PS                635 ext/session/session.c 		if (!PS(serializer)) {
PS                639 ext/session/session.c 		else if (PS(serializer)->encode(&ret, newlen TSRMLS_CC) == FAILURE)
PS                650 ext/session/session.c 	if (!PS(serializer)) {
PS                654 ext/session/session.c 	if (PS(serializer)->decode(val, vallen TSRMLS_CC) == FAILURE) {
PS                739 ext/session/session.c 	switch (PS(hash_func)) {
PS                756 ext/session/session.c 	if (PS(entropy_length) > 0) {
PS                759 ext/session/session.c 		fd = VCWD_OPEN(PS(entropy_file), O_RDONLY);
PS                763 ext/session/session.c 			int to_read = PS(entropy_length);
PS                769 ext/session/session.c 				switch (PS(hash_func)) {
PS                783 ext/session/session.c 	switch (PS(hash_func)) {
PS                792 ext/session/session.c 	if (PS(hash_bits_per_character) < 4
PS                793 ext/session/session.c 			|| PS(hash_bits_per_character) > 6) {
PS                794 ext/session/session.c 		PS(hash_bits_per_character) = 4;
PS                798 ext/session/session.c 	j = (int) (bin_to_readable((char *)digest, digest_len, buf, PS(hash_bits_per_character)) - buf);
PS                811 ext/session/session.c 	if (PS(id) && strpbrk(PS(id), "\r\n\t <>'\"\\")) {
PS                812 ext/session/session.c 		efree(PS(id));
PS                813 ext/session/session.c 		PS(id) = NULL;
PS                816 ext/session/session.c 	if (!PS(mod)) {
PS                822 ext/session/session.c 	if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) {
PS                823 ext/session/session.c 		php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize storage module: %s (path: %s)", PS(mod)->s_name, PS(save_path));
PS                828 ext/session/session.c 	if (!PS(id)) {
PS                830 ext/session/session.c 		PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC);
PS                831 ext/session/session.c 		if (PS(use_cookies)) {
PS                832 ext/session/session.c 			PS(send_cookie) = 1;
PS                843 ext/session/session.c 	PS(invalid_session_id) = 0;
PS                844 ext/session/session.c 	if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, &vallen TSRMLS_CC) == SUCCESS) {
PS                847 ext/session/session.c 	} else if (PS(invalid_session_id)) { /* address instances where the session read fails due to an invalid id */
PS                848 ext/session/session.c 		PS(invalid_session_id) = 0;
PS                849 ext/session/session.c 		efree(PS(id));
PS                850 ext/session/session.c 		PS(id) = NULL;
PS                891 ext/session/session.c 		if (PS(bug_compat) && !PG(register_globals)) {
PS                892 ext/session/session.c 			HashTable *ht = Z_ARRVAL_P(PS(http_session_vars));
PS                908 ext/session/session.c 			if (do_warn && PS(bug_compat_warn)) {
PS                913 ext/session/session.c 		if (PS(mod_data)) {
PS                919 ext/session/session.c 				ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC);
PS                922 ext/session/session.c 				ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 TSRMLS_CC);
PS                930 ext/session/session.c 					PS(mod)->s_name,
PS                931 ext/session/session.c 					PS(save_path));
PS                934 ext/session/session.c 	if (PS(mod_data))
PS                935 ext/session/session.c 		PS(mod)->s_close(&PS(mod_data) TSRMLS_CC);
PS                999 ext/session/session.c 	now = tv.tv_sec + PS(cache_expire) * 60;
PS               1005 ext/session/session.c 	snprintf(buf, sizeof(buf) , "Cache-Control: public, max-age=%ld", PS(cache_expire) * 60); /* SAFE */
PS               1015 ext/session/session.c 	snprintf(buf, sizeof(buf), "Cache-Control: private, max-age=%ld, pre-check=%ld", PS(cache_expire) * 60, PS(cache_expire) * 60); /* SAFE */
PS               1048 ext/session/session.c 	if (PS(cache_limiter)[0] == '\0') return 0;
PS               1064 ext/session/session.c 		if (!strcasecmp(lim->name, PS(cache_limiter))) {
PS               1100 ext/session/session.c 	e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)), NULL);
PS               1101 ext/session/session.c 	e_id = php_url_encode(PS(id), strlen(PS(id)), NULL);
PS               1111 ext/session/session.c 	if (PS(cookie_lifetime) > 0) {
PS               1116 ext/session/session.c 		t = tv.tv_sec + PS(cookie_lifetime);
PS               1126 ext/session/session.c 	if (PS(cookie_path)[0]) {
PS               1128 ext/session/session.c 		smart_str_appends(&ncookie, PS(cookie_path));
PS               1131 ext/session/session.c 	if (PS(cookie_domain)[0]) {
PS               1133 ext/session/session.c 		smart_str_appends(&ncookie, PS(cookie_domain));
PS               1136 ext/session/session.c 	if (PS(cookie_secure)) {
PS               1140 ext/session/session.c 	if (PS(cookie_httponly)) {
PS               1182 ext/session/session.c 		PS(id) = estrndup(Z_STRVAL_PP(ppid), Z_STRLEN_PP(ppid))
PS               1186 ext/session/session.c 	int module_number = PS(module_number);
PS               1188 ext/session/session.c 	if (PS(use_cookies) && PS(send_cookie)) {
PS               1190 ext/session/session.c 		PS(send_cookie) = 0;
PS               1196 ext/session/session.c 	if (PS(define_sid)) {
PS               1199 ext/session/session.c 		smart_str_appends(&var, PS(session_name));
PS               1201 ext/session/session.c 		smart_str_appends(&var, PS(id));
PS               1208 ext/session/session.c 	if (PS(apply_trans_sid)) {
PS               1210 ext/session/session.c 		php_url_scanner_add_var(PS(session_name), strlen(PS(session_name)), PS(id), strlen(PS(id)), 1 TSRMLS_CC);
PS               1222 ext/session/session.c 	PS(apply_trans_sid) = PS(use_trans_sid);
PS               1224 ext/session/session.c 	if (PS(session_status) != php_session_none) {
PS               1225 ext/session/session.c 		if (PS(session_status) == php_session_disabled) {
PS               1242 ext/session/session.c 		PS(define_sid) = 1;
PS               1243 ext/session/session.c 		PS(send_cookie) = 1;
PS               1246 ext/session/session.c 	lensess = strlen(PS(session_name));
PS               1254 ext/session/session.c 	if (!PS(id)) {
PS               1255 ext/session/session.c 		if (PS(use_cookies) && zend_hash_find(&EG(symbol_table), "_COOKIE",
PS               1258 ext/session/session.c 				zend_hash_find(Z_ARRVAL_PP(data), PS(session_name),
PS               1261 ext/session/session.c 			PS(apply_trans_sid) = 0;
PS               1262 ext/session/session.c 			PS(send_cookie) = 0;
PS               1263 ext/session/session.c 			PS(define_sid) = 0;
PS               1266 ext/session/session.c 		if (!PS(use_only_cookies) && !PS(id) &&
PS               1270 ext/session/session.c 				zend_hash_find(Z_ARRVAL_PP(data), PS(session_name),
PS               1273 ext/session/session.c 			PS(send_cookie) = 0;
PS               1276 ext/session/session.c 		if (!PS(use_only_cookies) && !PS(id) &&
PS               1280 ext/session/session.c 				zend_hash_find(Z_ARRVAL_PP(data), PS(session_name),
PS               1283 ext/session/session.c 			PS(send_cookie) = 0;
PS               1291 ext/session/session.c 	if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] &&
PS               1295 ext/session/session.c 			(p = strstr(Z_STRVAL_PP(data), PS(session_name))) &&
PS               1301 ext/session/session.c 			PS(id) = estrndup(p, q - p);
PS               1302 ext/session/session.c 			PS(send_cookie) = 0;
PS               1310 ext/session/session.c 	if (PS(id) &&
PS               1311 ext/session/session.c 			PS(extern_referer_chk)[0] != '\0' &&
PS               1317 ext/session/session.c 			strstr(Z_STRVAL_PP(data), PS(extern_referer_chk)) == NULL) {
PS               1318 ext/session/session.c 		efree(PS(id));
PS               1319 ext/session/session.c 		PS(id) = NULL;
PS               1320 ext/session/session.c 		PS(send_cookie) = 1;
PS               1321 ext/session/session.c 		if (PS(use_trans_sid))
PS               1322 ext/session/session.c 			PS(apply_trans_sid) = 1;
PS               1327 ext/session/session.c 	if (!PS(use_cookies) && PS(send_cookie)) {
PS               1328 ext/session/session.c 		if (PS(use_trans_sid))
PS               1329 ext/session/session.c 			PS(apply_trans_sid) = 1;
PS               1330 ext/session/session.c 		PS(send_cookie) = 0;
PS               1335 ext/session/session.c 	PS(session_status) = php_session_active;
PS               1339 ext/session/session.c 	if (PS(mod_data) && PS(gc_probability) > 0) {
PS               1342 ext/session/session.c 		nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg(TSRMLS_C));
PS               1343 ext/session/session.c 		if (nrand < PS(gc_probability)) {
PS               1344 ext/session/session.c 			PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels TSRMLS_CC);
PS               1357 ext/session/session.c 	if (PS(session_status) != php_session_active) {
PS               1362 ext/session/session.c 	if (PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) {
PS               1380 ext/session/session.c 	if (!PS(use_cookies))
PS               1420 ext/session/session.c 	add_assoc_long(return_value, "lifetime", PS(cookie_lifetime));
PS               1421 ext/session/session.c 	add_assoc_string(return_value, "path", PS(cookie_path), 1);
PS               1422 ext/session/session.c 	add_assoc_string(return_value, "domain", PS(cookie_domain), 1);
PS               1423 ext/session/session.c 	add_assoc_bool(return_value, "secure", PS(cookie_secure));
PS               1424 ext/session/session.c 	add_assoc_bool(return_value, "httponly", PS(cookie_httponly));
PS               1439 ext/session/session.c 	old = estrdup(PS(session_name));
PS               1462 ext/session/session.c 	if (PS(mod) && PS(mod)->s_name) {
PS               1463 ext/session/session.c 		RETVAL_STRING(safe_estrdup(PS(mod)->s_name), 0);
PS               1476 ext/session/session.c 		if (PS(mod_data)) {
PS               1477 ext/session/session.c 			PS(mod)->s_close(&PS(mod_data) TSRMLS_CC);
PS               1479 ext/session/session.c 		PS(mod_data) = NULL;
PS               1498 ext/session/session.c 	if (PS(session_status) != php_session_none)
PS               1519 ext/session/session.c 	PS(mod_data) = (void *) mdata;
PS               1536 ext/session/session.c 	old = estrdup(PS(save_path));
PS               1558 ext/session/session.c 	if (PS(id)) {
PS               1559 ext/session/session.c 		old = estrdup(PS(id));
PS               1566 ext/session/session.c 		if (PS(id)) efree(PS(id));
PS               1567 ext/session/session.c 		PS(id) = estrndup(Z_STRVAL_PP(p_name), Z_STRLEN_PP(p_name));
PS               1589 ext/session/session.c 	if (PS(session_status) == php_session_active) {
PS               1590 ext/session/session.c 		if (PS(id)) {
PS               1591 ext/session/session.c 			if (del_ses && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) {
PS               1595 ext/session/session.c 			efree(PS(id));
PS               1596 ext/session/session.c 			PS(id) = NULL;
PS               1599 ext/session/session.c 		PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC);
PS               1601 ext/session/session.c 		PS(send_cookie) = 1;
PS               1621 ext/session/session.c 	old = estrdup(PS(cache_limiter));
PS               1640 ext/session/session.c 	old = PS(cache_expire);
PS               1702 ext/session/session.c 	if (PS(session_status) == php_session_none || PS(session_status) == php_session_disabled) {
PS               1706 ext/session/session.c 	if (PS(session_status) == php_session_disabled) {
PS               1754 ext/session/session.c 	if (PS(session_status) == php_session_none)
PS               1758 ext/session/session.c 		if (zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)),
PS               1798 ext/session/session.c 	if (PS(session_status) == php_session_none) {
PS               1841 ext/session/session.c 	if (PS(session_status) == php_session_none)
PS               1845 ext/session/session.c 		HashTable *ht = Z_ARRVAL_P(PS(http_session_vars));
PS               1870 ext/session/session.c 	if (PS(apply_trans_sid) && (PS(session_status) == php_session_active)) {
PS               1871 ext/session/session.c 		*new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id), newlen TSRMLS_CC);
PS               1877 ext/session/session.c 	PS(id) = NULL;
PS               1878 ext/session/session.c 	PS(session_status) = php_session_none;
PS               1879 ext/session/session.c 	PS(mod_data) = NULL;
PS               1880 ext/session/session.c 	PS(http_session_vars) = NULL;
PS               1885 ext/session/session.c 	if (PS(http_session_vars)) {
PS               1886 ext/session/session.c 		zval_ptr_dtor(&PS(http_session_vars));
PS               1887 ext/session/session.c 		PS(http_session_vars) = NULL;
PS               1889 ext/session/session.c 	if (PS(mod_data)) {
PS               1891 ext/session/session.c 			PS(mod)->s_close(&PS(mod_data) TSRMLS_CC);
PS               1894 ext/session/session.c 	if (PS(id)) {
PS               1895 ext/session/session.c 		efree(PS(id));
PS               1904 ext/session/session.c 	if (PS(mod) == NULL) {
PS               1909 ext/session/session.c 			PS(mod) = _php_find_ps_module(value TSRMLS_CC);
PS               1912 ext/session/session.c 		if (!PS(mod)) {
PS               1914 ext/session/session.c 			PS(session_status) = php_session_disabled;
PS               1919 ext/session/session.c 	if (PS(auto_start)) {
PS               1928 ext/session/session.c 	if (PS(session_status) == php_session_active) {
PS               1929 ext/session/session.c 		PS(session_status) = php_session_none;
PS               1967 ext/session/session.c 	PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */
PS               1969 ext/session/session.c 	PS(session_status) = php_session_none;
PS               1593 ext/soap/soap.c 			if (PS(session_status) != php_session_active &&
PS               1594 ext/soap/soap.c 			    PS(session_status) != php_session_disabled) {
PS               1599 ext/soap/soap.c 			if (zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), "_bogus_session_name", sizeof("_bogus_session_name"), (void **) &tmp_soap) == SUCCESS &&
PS               1679 ext/soap/soap.c 				if (zend_hash_update(Z_ARRVAL_P(PS(http_session_vars)), "_bogus_session_name", sizeof("_bogus_session_name"), &tmp_soap, sizeof(zval *), (void **)&tmp_soap_pp) == SUCCESS) {
PS                186 ext/sqlite/sess_sqlite.c 	if ((int) ((float) PS(gc_divisor) * PS(gc_divisor) * php_combined_lcg(TSRMLS_C)) < PS(gc_probability)) {