Home
last modified time | relevance | path

Searched refs:max_phonemes (Results 1 – 4 of 4) sorted by relevance

/PHP-8.1/ext/standard/
H A Dmetaphone.c23 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 Dbasic_functions.stub.php658 function metaphone(string $string, int $max_phonemes = 0): string {} argument
H A Dbasic_functions_arginfo.h736 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_phonemes, IS_LONG, 0, "0")
/PHP-8.1/ext/standard/tests/strings/
H A Dmetaphone.phpt33 metaphone(): Argument #2 ($max_phonemes) must be greater than or equal to 0

Completed in 34 milliseconds