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

/PHP_TRUNK/Zend/
H A Dzend_compile.c5395 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRMLS_DC) /* {{{ */ argument
5412 CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant));
5415 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) {
5416 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant));
5434 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);
5435 efree(Z_STRVAL(var_name->u.constant));
5439 void zend_do_declare_class_constant(znode *var_name, cons argument
[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/ext/standard/
H A Darray.c1233 static int php_valid_var_name(char *var_name, int var_name_len) /* {{{ */ argument
1237 if (!var_name || !var_name_len) {
1242 ch = (int)((unsigned char *)var_name)[0];
1243 if (var_name[0] != '_' &&
1254 ch = (int)((unsigned char *)var_name)[i];
1255 if (var_name[i] != '_' &&
1269 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC) /* {{{ */ argument
1280 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1293 char *var_name; local
1342 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(var_array), &var_name,
[all...]

Completed in 19 milliseconds