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

/PHP_5_5/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.c2134 znode constant_name; local
2162 constant_name.op_type = IS_CONST;
2163 ZVAL_STRINGL(&constant_name.u.constant, "class", sizeof("class")-1, 1);
2164 zend_do_fetch_constant(result, class_name, &constant_name, ZEND_RT, 1 TSRMLS_CC);
5561 void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace TSRMLS_DC) /* {{{ */ argument
5580 zend_do_build_full_name(NULL, constant_container, constant_name, 1 TSRMLS_CC);
5602 SET_NODE(opline->op2, constant_name);
5618 compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name->u.constant));
5621 if (zend_constant_ct_subst(result, &constant_name
[all...]

Completed in 57 milliseconds