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

/PHP_5_4/Zend/
H A Dzend_constants.c335 const char *constant_name = colon + 1; local
380 if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant) != SUCCESS) {
383 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name, constant_name);
398 const char *constant_name = colon + 1; local
408 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1);
432 name = constant_name;
H A Dzend_compile.c5364 void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace TSRMLS_DC) /* {{{ */ argument
5383 zend_do_build_full_name(NULL, constant_container, constant_name, 1 TSRMLS_CC);
5405 SET_NODE(opline->op2, constant_name);
5421 compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name->u.constant));
5424 if (zend_constant_ct_subst(result, &constant_name->u.constant, 0 TSRMLS_CC)) {
5428 zend_resolve_non_class_name(constant_name, check_namespace TSRMLS_CC);
5434 *result = *constant_name;
5438 compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name
[all...]

Completed in 14 milliseconds