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

/PHP_5_6/ext/intl/doc/
H A Dgrapheme_api.php7 * grapheme_extract extract_type
121 * @param int $size maximum number of units - based on the $extract_type - to return
122 * @param [int] $extract_type one of GRAPHEME_EXTR_COUNT (default), GRAPHEME_EXTR_MAXBYTES, or GRAPHEME_EXTR_MAXCHARS
128 function grapheme_extract($haystack, $size, $extract_type = GRAPHEME_EXTR_COUNT, $start = 0, &$next) {}
/PHP_5_6/ext/intl/grapheme/
H A Dgrapheme_string.c807 /* {{{ proto string grapheme_extract(string str, int size[, int extract_type[, int start[, int next]]])
814 long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */
817 long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT; local
824 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|llz", (char **)&str, &str_len, &size, &extract_type, &lstart, &next) == FAILURE) {
846 if ( extract_type < GRAPHEME_EXTRACT_TYPE_MIN || extract_type > GRAPHEME_EXTRACT_TYPE_MAX ) {
931 ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, pstr, str_len);
/PHP_5_6/ext/standard/
H A Darray.c1281 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1286 long extract_type = EXTR_OVERWRITE; local
1295 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1299 extract_refs = (extract_type & EXTR_REFS);
1300 extract_type &= 0xff;
1302 if (extract_type < EXTR_OVERWRITE || extract_type > EXTR_IF_EXISTS) {
1307 if (extract_type > EXTR_SKIP && extract_type <= EXTR_PREFIX_IF_EXISTS && ZEND_NUM_ARGS() < 3) {
1343 } else if (key_type == HASH_KEY_IS_LONG && (extract_type
[all...]
H A Dbasic_functions.c333 ZEND_ARG_INFO(0, extract_type)

Completed in 27 milliseconds