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

/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1457 zend_string *trait_name, *lc_name; local
1462 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|b", &trait_name, &autoload) == FAILURE) {
1467 Z_PARAM_STR(trait_name)
1474 if (ZSTR_VAL(trait_name)[0] == '\\') {
1476 lc_name = zend_string_alloc(ZSTR_LEN(trait_name) - 1, 0);
1477 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(trait_name) + 1, ZSTR_LEN(trait_name) - 1);
1479 lc_name = zend_string_tolower(trait_name);
1485 ce = zend_lookup_class(trait_name);

Completed in 6 milliseconds