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

/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1431 zend_string *trait_name, *lc_name; local
1436 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &trait_name, &autoload) == FAILURE) {
1441 Z_PARAM_STR(trait_name)
1448 if (trait_name->val[0] == '\\') {
1450 lc_name = zend_string_alloc(trait_name->len - 1, 0);
1451 zend_str_tolower_copy(lc_name->val, trait_name->val + 1, trait_name->len - 1);
1453 lc_name = zend_string_tolower(trait_name);
1460 ce = zend_lookup_class(trait_name);

Completed in 6 milliseconds