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

/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_string.c814 /* {{{ proto string grapheme_extract(string str, int size[, int extract_type[, int start[, int next]]])
822 zend_long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */
825 zend_long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT; local
832 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|llz", (char **)&str, &str_len, &size, &extract_type, &lstart, &next) == FAILURE) {
856 if ( extract_type < GRAPHEME_EXTRACT_TYPE_MIN || extract_type > GRAPHEME_EXTRACT_TYPE_MAX ) {
941 ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, pstr, str_len);
/PHP_TRUNK/ext/standard/
H A Darray.c1356 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1361 zend_long extract_type = EXTR_OVERWRITE; local
1369 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1373 extract_refs = (extract_type & EXTR_REFS);
1377 extract_type &= 0xff;
1379 if (extract_type < EXTR_OVERWRITE || extract_type > EXTR_IF_EXISTS) {
1384 if (extract_type > EXTR_SKIP && extract_type <= EXTR_PREFIX_IF_EXISTS && ZEND_NUM_ARGS() < 3) {
1407 } else if (extract_type
[all...]

Completed in 7 milliseconds