Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 59) sorted by relevance

123

/PHP-8.1/ext/iconv/tests/
H A Dbug51250.phpt9 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= .", $m));
10 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= .", $m));
14 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= ."));
15 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= ."));
20 string(23) "Legal encoded-word: * ."
21 string(23) "Legal encoded-word: * ."
22 string(24) "Illegal encoded-word: ."
23 string(23) "Illegal encoded-word: ."
24 string(23) "Legal encoded-word: * ."
25 string(23) "Legal encoded-word: * ."
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmb_ereg_named_subpatterns.phpt12 mb_ereg('(?<wsp>\s*)(?<word>\w+)', ' 中国', $m);
14 mb_ereg('(?<wsp>\s*)(?<word>\w+)', '国', $m);
16 mb_ereg('(\s*)(?<word>\w+)', ' 中国', $m);
29 ["word"]=>
41 ["word"]=>
49 ["word"]=>
H A Dmb_ereg_replace_named_subpatterns.phpt12 // \k<word> syntax
14 // \k'word' syntax
15 echo mb_ereg_replace('(?<word>[a-z]+)',"<\k'word'>", 'abc def ghi'), PHP_EOL;
H A Dmb_ereg_search_named_subpatterns_1.phpt14 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])');
31 ["word"]=>
H A Dmb_ereg_search_named_subpatterns_2.phpt14 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])');
29 ["word"]=>
H A Dmb_ereg_replace_callback.phpt17 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) {
18 return sprintf("%s-%s", $m['digit'], $m['word']);
H A Dmb_decode_mimeheader_variation2.phpt28 foreach ($encoded_words as $word) {
29 var_dump(bin2hex(mb_decode_mimeheader($word)));
H A Dbug65544.phpt2 Bug #65544: mb title case conversion-first word in quotation isn't capitalized
/PHP-8.1/ext/enchant/
H A Denchant.stub.php58 function enchant_dict_quick_check(EnchantDictionary $dictionary, string $word, &$suggestions = null… argument
60 function enchant_dict_check(EnchantDictionary $dictionary, string $word): bool {} argument
66 function enchant_dict_suggest(EnchantDictionary $dictionary, string $word): array {} argument
68 function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {} argument
74 function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {} argument
76 function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {} argument
78 function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): bool {} argument
84 function enchant_dict_is_in_session(EnchantDictionary $dictionary, string $word): bool {} argument
H A Denchant.c595 char *word; in PHP_FUNCTION() local
612 if (enchant_dict_check(pdict->pdict, word, wordlen) > 0) { in PHP_FUNCTION()
640 char *word; in PHP_FUNCTION() local
650 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
658 char *word; in PHP_FUNCTION() local
688 char *word; in PHP_FUNCTION() local
698 enchant_dict_add(pdict->pdict, word, wordlen); in PHP_FUNCTION()
706 char *word; in PHP_FUNCTION() local
716 enchant_dict_add_to_session(pdict->pdict, word, wordlen); in PHP_FUNCTION()
724 char *word; in PHP_FUNCTION() local
[all …]
H A Denchant_arginfo.h59 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0)
65 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0)
70 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0)
75 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0)
/PHP-8.1/ext/pcre/tests/
H A Dbug34790.phpt6 $string = 'what the word and the other word the';
7 preg_match_all('/(?P<word>the)/', $string, $matches);
8 return $matches['word'];
/PHP-8.1/ext/standard/
H A Dmetaphone.c23 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p…
105 #define Next_Letter (toupper(word[w_idx+1]))
107 #define Curr_Letter (toupper(word[w_idx]))
109 #define Look_Back_Letter(n) (w_idx >= n ? toupper(word[w_idx-n]) : '\0')
113 #define After_Next_Letter (Next_Letter != '\0' ? toupper(word[w_idx+2]) \
115 #define Look_Ahead_Letter(n) (toupper(Lookahead((char *) word+w_idx, n)))
120 static char Lookahead(char *word, int how_far) in Lookahead() argument
124 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
127 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
162 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p… in metaphone() argument
[all …]
/PHP-8.1/ext/com_dotnet/tests/
H A Dbug66431_1.phpt8 new COM("word.application", NULL, CP_UTF8);
22 $Wrd = new COM("word.application", NULL, CP_UTF8);
30 $Wrd = new COM("word.application", NULL, CP_UTF8);
37 /* trim the returned text as we'll get windows eol from a word doc. */
/PHP-8.1/ext/pspell/
H A Dpspell.stub.php36 function pspell_check(PSpell\Dictionary $dictionary, string $word): bool {} argument
42 function pspell_suggest(PSpell\Dictionary $dictionary, string $word): array|false {} argument
44 function pspell_add_to_personal(PSpell\Dictionary $dictionary, string $word): bool {} argument
45 function pspell_add_to_session(PSpell\Dictionary $dictionary, string $word): bool {} argument
H A Dpspell.c402 zend_string *word; in PHP_FUNCTION() local
405 if (zend_parse_parameters(ZEND_NUM_ARGS(), "OS", &zmgr, php_pspell_ce, &word) == FAILURE) { in PHP_FUNCTION()
410 if (pspell_manager_check(manager, ZSTR_VAL(word))) { in PHP_FUNCTION()
422 zend_string *word; in PHP_FUNCTION() local
434 wl = pspell_manager_suggest(manager, ZSTR_VAL(word)); in PHP_FUNCTION()
474 zend_string *word; in PHP_FUNCTION() local
483 if (ZSTR_LEN(word) == 0) { in PHP_FUNCTION()
487 pspell_manager_add_to_personal(manager, ZSTR_VAL(word)); in PHP_FUNCTION()
501 zend_string *word; in PHP_FUNCTION() local
510 if (ZSTR_LEN(word) == 0) { in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/enchant/tests/
H A Ddict_quick_check_01.phpt16 $word = "aspell";
23 enchant_dict_quick_check($requestDict,$word,$sugs);
/PHP-8.1/Zend/asm/
H A Djump_i386_ms_pe_masm.asm32 ; save MMX control- and status-word
34 ; save x87 control-word
73 ; restore MMX control- and status-word
75 ; restore x87 control-word
H A Djump_x86_64_ms_pe_masm.asm105 ; save MMX control- and status-word
107 ; save x87 control-word
155 ; restore MMX control- and status-word
157 ; save x87 control-word
/PHP-8.1/ext/intl/tests/
H A Duconverter_oop_callback.phpt29 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
30 $c->convert($word);
H A Duconverter_oop_callback2.phpt29 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
30 $c->convert($word);
/PHP-8.1/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt7 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack
15 //needle as second word of haystack
/PHP-8.1/ext/gmp/tests/
H A Dgmp_export.phpt56 // Invalid word sizes
85 gmp_export(): Argument #3 ($flags) cannot use multiple word order options
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_pbkdf2_basic.phpt20 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
/PHP-8.1/ext/pdo_pgsql/tests/
H A Dbug62479.phpt64 $sql = sprintf($template, "my pass''word");
67 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my pass'word");

Completed in 34 milliseconds

123