Searched refs:const_name_len (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/Zend/ |
H A D | zend_constants.c | 296 int const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex() local 342 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex() 359 int const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex() local 368 lcname = erealloc(lcname, prefix_len + 1 + const_name_len + 1); in zend_get_constant_ex() 370 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex() 372 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex() 376 zend_str_tolower(lcname + prefix_len + 1, const_name_len); in zend_get_constant_ex() 377 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex() 395 name_len = const_name_len; in zend_get_constant_ex()
|
/PHP-5.3/ext/standard/ |
H A D | basic_functions.c | 3831 int const_name_len; in PHP_FUNCTION() local 3833 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &const_name, &const_name_len) == FAILURE… in PHP_FUNCTION() 3837 …if (!zend_get_constant_ex(const_name, const_name_len, return_value, NULL, ZEND_FETCH_CLASS_SILENT … in PHP_FUNCTION()
|
Completed in 34 milliseconds