Home
last modified time | relevance | path

Searched refs:constant_name (Results 1 – 4 of 4) sorted by relevance

/PHP-5.4/Zend/
H A Dzend_constants.c335 const char *constant_name = colon + 1; in zend_get_constant_ex() local
380 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex()
383 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name, constant_name); in zend_get_constant_ex()
398 const char *constant_name = colon + 1; in zend_get_constant_ex() local
408 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
432 name = constant_name; in zend_get_constant_ex()
H A Dzend_compile.c5383 zend_do_build_full_name(NULL, constant_container, constant_name, 1 TSRMLS_CC); in zend_do_fetch_constant()
5405 SET_NODE(opline->op2, constant_name); in zend_do_fetch_constant()
5421 … compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name->u.constant)); in zend_do_fetch_constant()
5424 if (zend_constant_ct_subst(result, &constant_name->u.constant, 0 TSRMLS_CC)) { in zend_do_fetch_constant()
5428 zend_resolve_non_class_name(constant_name, check_namespace TSRMLS_CC); in zend_do_fetch_constant()
5434 *result = *constant_name; in zend_do_fetch_constant()
5438 … compound = memchr(Z_STRVAL(constant_name->u.constant), '\\', Z_STRLEN(constant_name->u.constant)); in zend_do_fetch_constant()
5440 zend_resolve_non_class_name(constant_name, check_namespace TSRMLS_CC); in zend_do_fetch_constant()
5442 if(zend_constant_ct_subst(result, &constant_name->u.constant, 1 TSRMLS_CC)) { in zend_do_fetch_constant()
5456 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
[all …]
H A Dzend_compile.h554 void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mod…
H A Dzend_builtin_functions.c130 ZEND_ARG_INFO(0, constant_name)
136 ZEND_ARG_INFO(0, constant_name)

Completed in 37 milliseconds