/php-src/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-src/ext/mbstring/tests/ |
H A D | mb_ereg_named_subpatterns.phpt | 12 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 D | mb_decode_mimeheader_variation4.phpt | 27 // 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 D | mb_ereg_replace_named_subpatterns.phpt | 12 // \k<word> syntax 14 // \k'word' syntax 15 echo mb_ereg_replace('(?<word>[a-z]+)',"<\k'word'>", 'abc def ghi'), PHP_EOL;
|
H A D | mb_ereg_search_named_subpatterns_1.phpt | 14 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])'); 31 ["word"]=>
|
H A D | mb_ereg_search_named_subpatterns_2.phpt | 14 mb_ereg_search('(?<wsp>\s*)(?<word>\w+)(?<punct>[?!])'); 29 ["word"]=>
|
H A D | mb_ereg_replace_callback.phpt | 17 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) { 18 return sprintf("%s-%s", $m['digit'], $m['word']);
|
H A D | mb_decode_mimeheader_variation2.phpt | 28 foreach ($encoded_words as $word) { 29 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-src/ext/enchant/ |
H A D | enchant.stub.php | 78 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 D | enchant.c | 596 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 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-src/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-src/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… 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 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-src/ext/enchant/tests/ |
H A D | dict_quick_check_01.phpt | 16 $word = "aspell"; 23 enchant_dict_quick_check($requestDict,$word,$sugs);
|
/php-src/Zend/asm/ |
H A D | jump_i386_ms_pe_masm.asm | 32 ; 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 D | jump_x86_64_ms_pe_masm.asm | 105 ; 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 D | uconverter_oop_callback2.phpt | 29 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) { 30 $c->convert($word);
|
H A D | uconverter_oop_callback.phpt | 29 foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) { 30 $c->convert($word);
|
/php-src/ext/standard/tests/strings/ |
H A D | strrchr_basic.phpt | 8 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 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-src/ext/openssl/tests/ |
H A D | openssl_pbkdf2_basic.phpt | 20 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug62479.phpt | 61 $sql = sprintf($template, "my pass''word"); 64 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my pass'word");
|