Lines Matching refs:varname
93 static void normalize_protected_variable(char *varname TSRMLS_DC) /* {{{ */ in normalize_protected_variable()
95 char *s = varname, *index = NULL, *indexend = NULL, *p; in normalize_protected_variable()
103 if (s != varname) { in normalize_protected_variable()
104 memmove(varname, s, strlen(s)+1); in normalize_protected_variable()
107 for (p = varname; *p && *p != '['; p++) { in normalize_protected_variable()
117 index = strchr(varname, '['); in normalize_protected_variable()
151 static void add_protected_variable(char *varname TSRMLS_DC) /* {{{ */ in add_protected_variable()
155 normalize_protected_variable(varname TSRMLS_CC); in add_protected_variable()
156 …zend_hash_add(&PG(rfc1867_protected_variables), varname, strlen(varname)+1, &dummy, sizeof(int), N… in add_protected_variable()
160 static zend_bool is_protected_variable(char *varname TSRMLS_DC) /* {{{ */ in is_protected_variable()
162 normalize_protected_variable(varname TSRMLS_CC); in is_protected_variable()
163 return zend_hash_exists(&PG(rfc1867_protected_variables), varname, strlen(varname)+1); in is_protected_variable()