Home
last modified time | relevance | path

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

123

/php-src/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-src/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_decode_mimeheader_variation4.phpt27 // Handle = which doesn't initiate a valid encoded word
31 // Encoded word which should not be accepted
35 // Encoded word with invalid charset name, and input string ends with whitespace
48 // Empty encoded word
52 // Encoded word with just one invalid Base64 byte
56 // Encoded word with an invalid Base64 byte followed by a valid Base64 byte
60 // Empty encoded word with a ? which looks like it should be terminator, but = is missing
64 // Encoded word with just one invalid Base64 byte, but this time properly terminated
68 // Invalid encoded word, followed immediately by valid encoded word
72 // Another example of invalid encoded word followed immediately by valid encoded 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-src/ext/enchant/
H A Denchant.stub.php78 function enchant_dict_quick_check(EnchantDictionary $dictionary, string $word, &$suggestions = null… argument
80 function enchant_dict_check(EnchantDictionary $dictionary, string $word): bool {} argument
86 function enchant_dict_suggest(EnchantDictionary $dictionary, string $word): array {} argument
88 function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {} argument
94 function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {} argument
96 function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {} argument
98 function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): bool {} argument
104 function enchant_dict_is_in_session(EnchantDictionary $dictionary, string $word): bool {} argument
H A Denchant.c596 char *word; in PHP_FUNCTION() local
613 if (enchant_dict_check(pdict->pdict, word, wordlen) > 0) { in PHP_FUNCTION()
641 char *word; in PHP_FUNCTION() local
651 RETURN_BOOL(!enchant_dict_check(pdict->pdict, word, wordlen)); in PHP_FUNCTION()
659 char *word; in PHP_FUNCTION() local
689 char *word; in PHP_FUNCTION() local
699 enchant_dict_add(pdict->pdict, word, wordlen); in PHP_FUNCTION()
707 char *word; in PHP_FUNCTION() local
717 enchant_dict_add_to_session(pdict->pdict, word, wordlen); in PHP_FUNCTION()
725 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-src/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-src/ext/standard/
H A Dmetaphone.c23 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p…
114 #define Read_Raw_Next_Letter (word[w_idx+1])
117 #define Read_Raw_Curr_Letter (word[w_idx])
120 #define Look_Back_Letter(n) (w_idx >= n ? Convert_Raw(word[w_idx-n]) : '\0')
124 #define Read_After_Next_Letter (Read_Raw_Next_Letter != '\0' ? Convert_Raw(word[w_idx+2]) \
126 #define Look_Ahead_Letter(n) (toupper(Lookahead((char *) word+w_idx, n)))
131 static char Lookahead(char *word, int how_far) in Lookahead() argument
134 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
137 return word[idx]; /* idx will be either == to how_far or in Lookahead()
171 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p… in metaphone() argument
[all …]
/php-src/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-src/ext/enchant/tests/
H A Ddict_quick_check_01.phpt16 $word = "aspell";
23 enchant_dict_quick_check($requestDict,$word,$sugs);
/php-src/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-src/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-src/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt8 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack
9 var_dump( strrchr("Hello, World", "Hello", true) ); //needle as a first word of haystack
21 //needle as second word of haystack
/php-src/ext/gmp/tests/
H A Dgmp_export.phpt56 // Invalid word sizes
85 gmp_export(): Argument #3 ($flags) cannot use multiple word order options
H A Dgmp_import.phpt50 // Invalid word sizes
98 gmp_import(): Argument #3 ($flags) cannot use multiple word order options
/php-src/ext/openssl/tests/
H A Dopenssl_pbkdf2_basic.phpt20 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
/php-src/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 33 milliseconds

123