Searched defs:constant_name (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_compile.c2184 znode constant_name; local
2212 constant_name.op_type = IS_CONST;
2213 ZVAL_STRINGL(&constant_name.u.constant, "class", sizeof("class")-1);
2214 zend_do_fetch_constant(result, class_name, &constant_name, ZEND_RT, 1 TSRMLS_CC);
6065 void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace TSRMLS_DC) /* {{{ */ argument
6084 zend_do_build_full_name(NULL, constant_container, constant_name, 1 TSRMLS_CC);
6110 SET_NODE(opline->op2, constant_name);
6125 compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRSIZE(constant_name->u.constant));
6128 if (zend_constant_ct_subst(result, &constant_name
[all...]
H A Dzend_constants.c346 zend_string *constant_name = STR_INIT(colon + 1, const_name_len, 0); local
390 ret_constant = zend_hash_find(&ce->constants_table, constant_name);
393 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name->val, constant_name->val);
400 STR_FREE(constant_name);
412 const char *constant_name = colon + 1; local
423 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1);
440 return zend_get_constant_str(constant_name, const_name_len TSRMLS_CC);

Completed in 15 milliseconds