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

/PHP_TRUNK/Zend/
H A Dzend_constants.c322 const char *constant_name = colon + 1; local
367 if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant) != SUCCESS) {
370 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name, constant_name);
385 const char *constant_name = colon + 1; local
395 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1);
419 name = constant_name;
H A Dzend_compile.c2199 znode constant_name; local
2227 constant_name.op_type = IS_CONST;
2228 ZVAL_STRINGL(&constant_name.u.constant, "class", sizeof("class")-1, 1);
2229 zend_do_fetch_constant(result, class_name, &constant_name, ZEND_RT, 1 TSRMLS_CC);
5680 void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace TSRMLS_DC) /* {{{ */ argument
5699 zend_do_build_full_name(NULL, constant_container, constant_name, 1 TSRMLS_CC);
5721 SET_NODE(opline->op2, constant_name);
5737 compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name->u.constant));
5740 if (zend_constant_ct_subst(result, &constant_name
[all...]

Completed in 15 milliseconds