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

/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1449 zend_string *trait_name, *lc_name; local
1454 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &trait_name, &autoload) == FAILURE) {
1459 Z_PARAM_STR(trait_name)
1466 if (trait_name->val[0] == '\\') {
1468 lc_name = zend_string_alloc(trait_name->len - 1, 0);
1469 zend_str_tolower_copy(lc_name->val, trait_name->val + 1, trait_name->len - 1);
1471 lc_name = zend_string_tolower(trait_name);
1477 ce = zend_lookup_class(trait_name);

Completed in 7 milliseconds