Searched defs:var_name (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/main/
H A Dphp_variables.c56 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array) argument
68 assert(var_name != NULL);
82 while (*var_name && *var_name==' ') {
83 var_name++;
89 var_len = strlen(var_name);
91 memcpy(var_orig, var_name, var_len + 1);
/PHP_TRUNK/ext/session/
H A Dsession.c197 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); local
199 zend_delete_global_variable(var_name);
208 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); local
209 zend_string_release(var_name);
863 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); local
877 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); local
878 zend_string_release(var_name);
/PHP_TRUNK/ext/standard/
H A Darray.c1345 static int php_valid_var_name(char *var_name, size_t var_name_len) /* {{{ */ argument
1350 if (!var_name || !var_name_len) {
1355 ch = (int)((unsigned char *)var_name)[0];
1356 if (var_name[0] != '_' &&
1367 ch = (int)((unsigned char *)var_name)[i];
1368 if (var_name[i] != '_' &&
1382 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, size_t var_name_len, zend_bool add_underscore) /* {{{ */ argument
1391 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1404 zend_string *var_name; local
1455 ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL_P(var_array), num_key, var_name, entr local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_compile.c2337 zend_string *var_name = zval_get_string(zend_ast_get_zval(var_ast->child[0])); local
2338 zend_bool result = zend_string_equals(var_name, name);
2339 zend_string_release(var_name);
3741 zval *var_name = zend_ast_get_zval(var_ast); local
3764 opline->op2.var = lookup_cv(CG(active_op_array), zend_string_copy(Z_STR_P(var_name)));

Completed in 23 milliseconds