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

/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1441 zend_string *trait_name, *lc_name; local
1446 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &trait_name, &autoload) == FAILURE) {
1451 Z_PARAM_STR(trait_name)
1458 if (trait_name->val[0] == '\\') {
1460 lc_name = zend_string_alloc(trait_name->len - 1, 0);
1461 zend_str_tolower_copy(lc_name->val, trait_name->val + 1, trait_name->len - 1);
1463 lc_name = zend_string_tolower(trait_name);
1469 ce = zend_lookup_class(trait_name);

Completed in 7 milliseconds