Searched refs:max_phonemes (Results 1 – 4 of 4) sorted by relevance
/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… 162 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p… in metaphone() argument 168 ZEND_ASSERT(max_phonemes >= 0); in metaphone() 171 if (max_phonemes == 0) { /* Assume largest possible */ in metaphone() 175 max_buffer_len = max_phonemes; in metaphone() 176 *phoned_word = zend_string_alloc(sizeof(char) * max_phonemes + 1, 0); in metaphone() 251 (max_phonemes == 0 || Phone_Len < (size_t)max_phonemes); in metaphone()
|
H A D | basic_functions.stub.php | 494 function metaphone(string $string, int $max_phonemes = 0): string {} argument
|
H A D | basic_functions_arginfo.h | 732 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_phonemes, IS_LONG, 0, "0")
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | metaphone.phpt | 33 metaphone(): Argument #2 ($max_phonemes) must be greater than or equal to 0
|
Completed in 31 milliseconds