Searched refs:var_name (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c38 /* {{{ FETCH_LONG_OPTION(var_name, option_name) */
39 #define FETCH_LONG_OPTION(var_name, option_name) \
40 var_name = 0; \
41 var_name##_set = 0; \
44 PHP_FILTER_GET_LONG_OPT(option_val, var_name); \
45 var_name##_set = 1; \
50 /* {{{ FETCH_STRING_OPTION(var_name, option_name) */
51 #define FETCH_STRING_OPTION(var_name, option_name) \
52 var_name = NULL; \
53 var_name##_se
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h146 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC);
H A Darray.c1232 static int php_valid_var_name(char *var_name, int var_name_len) /* {{{ */ argument
1236 if (!var_name || !var_name_len) {
1241 ch = (int)((unsigned char *)var_name)[0];
1242 if (var_name[0] != '_' &&
1253 ch = (int)((unsigned char *)var_name)[i];
1254 if (var_name[i] != '_' &&
1268 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC) /* {{{ */ argument
1279 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1292 char *var_name; local
1341 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &var_name,
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c59 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC) argument
71 assert(var_name != NULL);
85 while (*var_name && *var_name==' ') {
86 var_name++;
92 var_len = strlen(var_name);
94 memcpy(var_orig, var_name, var_len + 1);
/PHP_TRUNK/Zend/
H A Dzend_compile.c5401 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRMLS_DC) /* {{{ */ argument
5418 CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant));
5421 if (zend_hash_find(&CG(active_class_entry)->properties_info, Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant)+1, (void **) &existing_property_info)==SUCCESS) {
5422 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant));
5440 zend_declare_property_ex(CG(active_class_entry), zend_new_interned_string(Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant) + 1, 0 TSRMLS_CC), Z_STRLEN(var_name->u.constant), property, access_type, comment, comment_len TSRMLS_CC);
5441 efree(Z_STRVAL(var_name->u.constant));
5445 void zend_do_declare_class_constant(znode *var_name, cons argument
[all...]
H A Dzend_compile.h581 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRMLS_DC);
582 void zend_do_declare_class_constant(znode *var_name, const znode *value TSRMLS_DC);

Completed in 24 milliseconds