Searched defs:const_name (Results 1 - 3 of 3) sorted by relevance

/PHP_5_3/ext/com_dotnet/
H A Dcom_typeinfo.c166 char *const_name; local
187 const_name = php_com_olestring_to_string(bstr_ids, &c.name_len, codepage TSRMLS_CC);
188 c.name = zend_strndup(const_name, c.name_len);
189 efree(const_name);
/PHP_5_3/Zend/
H A Dzend_compile.c3860 static zend_constant* zend_get_ct_const(const zval *const_name, int all_internal_constants_substitution TSRMLS_DC) /* {{{ */ argument
3864 if (Z_STRVAL_P(const_name)[0] == '\\') {
3865 if (zend_hash_find(EG(zend_constants), Z_STRVAL_P(const_name)+1, Z_STRLEN_P(const_name), (void **) &c) == FAILURE) {
3866 char *lookup_name = zend_str_tolower_dup(Z_STRVAL_P(const_name)+1, Z_STRLEN_P(const_name)-1);
3868 if (zend_hash_find(EG(zend_constants), lookup_name, Z_STRLEN_P(const_name), (void **) &c)==SUCCESS) {
3877 } else if (zend_hash_find(EG(zend_constants), Z_STRVAL_P(const_name), Z_STRLEN_P(const_name)+1, (void **) &c) == FAILURE) {
3878 char *lookup_name = zend_str_tolower_dup(Z_STRVAL_P(const_name), Z_STRLEN_
3903 zend_constant_ct_subst(znode *result, zval *const_name, int all_internal_constants_substitution TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/standard/
H A Dbasic_functions.c625 ZEND_ARG_INFO(0, const_name)
3826 /* {{{ proto mixed constant(string const_name)
3830 char *const_name; local
3833 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &const_name, &const_name_len) == FAILURE) {
3837 if (!zend_get_constant_ex(const_name, const_name_len, return_value, NULL, ZEND_FETCH_CLASS_SILENT TSRMLS_CC)) {
3838 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't find constant %s", const_name);

Completed in 19 milliseconds