Home
last modified time | relevance | path

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

123

/PHP-7.4/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-7.4/ext/mbstring/tests/
H A Dmb_ereg_named_subpatterns.phpt11 mb_ereg('(?<wsp>\s*)(?<word>\w+)', ' 中国', $m);
13 mb_ereg('(?<wsp>\s*)(?<word>\w+)', '国', $m);
15 mb_ereg('(\s*)(?<word>\w+)', ' 中国', $m);
28 ["word"]=>
40 ["word"]=>
48 ["word"]=>
H A Dmb_ereg_replace_named_subpatterns.phpt11 // \k<word> syntax
13 // \k'word' syntax
14 echo mb_ereg_replace('(?<word>[a-z]+)',"<\k'word'>", 'abc def ghi'), PHP_EOL;
H A Dmb_ereg_replace_callback.phpt16 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) {
17 return sprintf("%s-%s", $m['digit'], $m['word']);
H A Dmb_ereg_search_named_subpatterns_1.phpt13 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])');
30 ["word"]=>
H A Dmb_ereg_search_named_subpatterns_2.phpt13 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])');
28 ["word"]=>
H A Dmb_decode_mimeheader_variation2.phpt11 * Description: Decodes the MIME "encoded-word" in the string
37 foreach ($encoded_words as $word) {
38 var_dump(bin2hex(mb_decode_mimeheader($word)));
H A Dbug65544.phpt2 Bug #65544: mb title case conversion-first word in quotation isn't capitalized
H A Dmb_decode_mimeheader_variation3.phpt11 * Description: Decodes the MIME "encoded-word" in the string
H A Dmb_decode_mimeheader_basic.phpt11 * Description: Decodes the MIME "encoded-word" in the string
/PHP-7.4/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-7.4/ext/standard/
H A Dmetaphone.c26 static int metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **ph…
110 #define Next_Letter (toupper(word[w_idx+1]))
112 #define Curr_Letter (toupper(word[w_idx]))
114 #define Look_Back_Letter(n) (w_idx >= n ? toupper(word[w_idx-n]) : '\0')
118 #define After_Next_Letter (Next_Letter != '\0' ? toupper(word[w_idx+2]) \
120 #define Look_Ahead_Letter(n) (toupper(Lookahead((char *) word+w_idx, n)))
125 static char Lookahead(char *word, int how_far) in Lookahead() argument
129 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
132 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
168 static int metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **ph… in metaphone() argument
[all …]
/PHP-7.4/ext/enchant/
H A Denchant.c103 ZEND_ARG_INFO(0, word)
109 ZEND_ARG_INFO(0, word)
710 char *word; in PHP_FUNCTION() local
727 if (enchant_dict_check(pdict->pdict, word, wordlen) > 0) { in PHP_FUNCTION()
756 char *word; in PHP_FUNCTION() local
775 char *word; in PHP_FUNCTION() local
806 char *word; in PHP_FUNCTION() local
816 enchant_dict_add_to_personal(pdict->pdict, word, wordlen); in PHP_FUNCTION()
825 char *word; in PHP_FUNCTION() local
835 enchant_dict_add_to_session(pdict->pdict, word, wordlen); in PHP_FUNCTION()
[all …]
/PHP-7.4/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-7.4/ext/gmp/tests/
H A Dgmp_import.phpt53 // Invalid word sizes
77 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
80 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
83 Warning: gmp_import(): Input length must be a multiple of word size in %s on line %d
86 Warning: gmp_import(): Invalid options: Conflicting word orders in %s on line %d
89 Warning: gmp_import(): Invalid options: Conflicting word endianness in %s on line %d
H A Dgmp_export.phpt59 // Invalid word sizes
79 Warning: gmp_export(): Invalid options: Conflicting word orders in %s on line %d
82 Warning: gmp_export(): Invalid options: Conflicting word endianness in %s on line %d
/PHP-7.4/ext/pspell/
H A Dpspell.c95 ZEND_ARG_INFO(0, word)
100 ZEND_ARG_INFO(0, word)
111 ZEND_ARG_INFO(0, word)
116 ZEND_ARG_INFO(0, word)
496 char *word; in PHP_FUNCTION() local
505 if (pspell_manager_check(manager, word)) { in PHP_FUNCTION()
518 char *word; in PHP_FUNCTION() local
532 wl = pspell_manager_suggest(manager, word); in PHP_FUNCTION()
577 char *word; in PHP_FUNCTION() local
607 char *word; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/enchant/tests/
H A Ddict_quick_check_01.phpt15 $word = "aspell";
22 enchant_dict_quick_check($requestDict,$word,$sugs);
H A Ddict_check.phpt29 echo("dict check new word failed\n");
/PHP-7.4/ext/intl/tests/
H A Duconverter_oop_callback.phpt28 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
29 $c->convert($word);
H A Duconverter_oop_callback2.phpt28 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
29 $c->convert($word);
/PHP-7.4/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt12 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack
20 //needle as second word of haystack
H A Ducwords_variation5.phpt6 * Description: Uppercase the first character of each word in a string
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_pbkdf2_basic.phpt18 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug62479.phpt62 $sql = sprintf($template, "my pass''word");
65 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my pass'word");

Completed in 47 milliseconds

123