Searched refs:trait_name (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1447 zend_string *trait_name, *lc_name; local
1452 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &trait_name, &autoload) == FAILURE) {
1457 Z_PARAM_STR(trait_name)
1464 if (trait_name->val[0] == '\\') {
1466 lc_name = zend_string_alloc(trait_name->len - 1, 0);
1467 zend_str_tolower_copy(lc_name->val, trait_name->val + 1, trait_name->len - 1);
1469 lc_name = zend_string_tolower(trait_name);
1475 ce = zend_lookup_class(trait_name);

Completed in 5 milliseconds