/PHP-8.0/ext/iconv/tests/ |
H A D | bug51250.phpt | 9 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.0/ext/enchant/ |
H A D | enchant.stub.php | 42 function enchant_dict_quick_check(EnchantDictionary $dictionary, string $word, &$suggestions = null… argument 44 function enchant_dict_check(EnchantDictionary $dictionary, string $word): bool {} argument 46 function enchant_dict_suggest(EnchantDictionary $dictionary, string $word): array {} argument 48 function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {} argument 54 function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {} argument 56 function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {} argument 58 function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): bool {} argument 64 function enchant_dict_is_in_session(EnchantDictionary $dictionary, string $word): bool {} argument
|
H A D | enchant.c | 606 char *word; in PHP_FUNCTION() local 623 if (enchant_dict_check(pdict->pdict, word, wordlen) > 0) { in PHP_FUNCTION() 651 char *word; in PHP_FUNCTION() local 661 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen)); in PHP_FUNCTION() 669 char *word; in PHP_FUNCTION() local 699 char *word; in PHP_FUNCTION() local 709 enchant_dict_add(pdict->pdict, word, wordlen); in PHP_FUNCTION() 717 char *word; in PHP_FUNCTION() local 727 enchant_dict_add_to_session(pdict->pdict, word, wordlen); in PHP_FUNCTION() 735 char *word; in PHP_FUNCTION() local [all …]
|
H A D | enchant_arginfo.h | 59 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.0/ext/mbstring/tests/ |
H A D | mb_ereg_named_subpatterns.phpt | 11 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 D | mb_ereg_replace_named_subpatterns.phpt | 11 // \k<word> syntax 13 // \k'word' syntax 14 echo mb_ereg_replace('(?<word>[a-z]+)',"<\k'word'>", 'abc def ghi'), PHP_EOL;
|
H A D | mb_ereg_replace_callback.phpt | 16 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) { 17 return sprintf("%s-%s", $m['digit'], $m['word']);
|
H A D | mb_ereg_search_named_subpatterns_1.phpt | 13 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])'); 30 ["word"]=>
|
H A D | mb_ereg_search_named_subpatterns_2.phpt | 13 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])'); 28 ["word"]=>
|
H A D | mb_decode_mimeheader_variation2.phpt | 31 foreach ($encoded_words as $word) { 32 var_dump(bin2hex(mb_decode_mimeheader($word)));
|
H A D | bug65544.phpt | 2 Bug #65544: mb title case conversion-first word in quotation isn't capitalized
|
/PHP-8.0/ext/pcre/tests/ |
H A D | bug34790.phpt | 6 $string = 'what the word and the other word the'; 7 preg_match_all('/(?P<word>the)/', $string, $matches); 8 return $matches['word'];
|
/PHP-8.0/ext/standard/ |
H A D | metaphone.c | 23 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.0/ext/pspell/ |
H A D | pspell.stub.php | 18 function pspell_check(int $dictionary, string $word): bool {} argument 20 function pspell_suggest(int $dictionary, string $word): array|false {} argument 24 function pspell_add_to_personal(int $dictionary, string $word): bool {} argument 26 function pspell_add_to_session(int $dictionary, string $word): bool {} argument
|
H A D | pspell.c | 341 char *word; in PHP_FUNCTION() local 344 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &scin, &word, &word_len) == FAILURE) { in PHP_FUNCTION() 350 if (pspell_manager_check(manager, word)) { in PHP_FUNCTION() 362 char *word; in PHP_FUNCTION() local 368 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &scin, &word, &word_len) == FAILURE) { in PHP_FUNCTION() 376 wl = pspell_manager_suggest(manager, word); in PHP_FUNCTION() 419 char *word; in PHP_FUNCTION() local 422 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &scin, &word, &word_len) == FAILURE) { in PHP_FUNCTION() 433 pspell_manager_add_to_personal(manager, word); in PHP_FUNCTION() 448 char *word; in PHP_FUNCTION() local [all …]
|
H A D | pspell_arginfo.h | 27 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0) 32 ZEND_ARG_TYPE_INFO(0, word, IS_STRING, 0)
|
/PHP-8.0/ext/com_dotnet/tests/ |
H A D | bug66431_1.phpt | 8 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.0/ext/enchant/tests/ |
H A D | dict_quick_check_01.phpt | 15 $word = "aspell"; 22 enchant_dict_quick_check($requestDict,$word,$sugs);
|
/PHP-8.0/ext/intl/tests/ |
H A D | uconverter_oop_callback.phpt | 28 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) { 29 $c->convert($word);
|
H A D | uconverter_oop_callback2.phpt | 28 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) { 29 $c->convert($word);
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strrchr_basic.phpt | 7 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack 15 //needle as second word of haystack
|
/PHP-8.0/ext/openssl/tests/ |
H A D | openssl_pbkdf2_basic.phpt | 18 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_export.phpt | 56 // Invalid word sizes 85 gmp_export(): Argument #3 ($flags) cannot use multiple word order options
|
H A D | gmp_import.phpt | 50 // Invalid word sizes 98 gmp_import(): Argument #3 ($flags) cannot use multiple word order options
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug62479.phpt | 62 $sql = sprintf($template, "my pass''word"); 65 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my pass'word");
|