Lines Matching refs:varname
93 static void normalize_protected_variable(char *varname) /* {{{ */ in normalize_protected_variable() argument
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) /* {{{ */ in add_protected_variable() argument
153 normalize_protected_variable(varname); in add_protected_variable()
154 zend_hash_str_add_empty_element(&PG(rfc1867_protected_variables), varname, strlen(varname)); in add_protected_variable()
158 static zend_bool is_protected_variable(char *varname) /* {{{ */ in is_protected_variable() argument
160 normalize_protected_variable(varname); in is_protected_variable()
161 return zend_hash_str_exists(&PG(rfc1867_protected_variables), varname, strlen(varname)); in is_protected_variable()