Home
last modified time | relevance | path

Searched refs:metaphone (Results 1 – 9 of 9) sorted by relevance

/PHP-8.1/ext/standard/tests/strings/
H A Dbug44242.phpt2 Bug #44242 (metaphone('CMXFXM') crashes PHP)
6 echo metaphone('CMXFXZ'), "\n";
7 echo metaphone('CMXFXV'), "\n";
8 echo metaphone('CMXFXZXZ'), "\n";
H A Dbug47443.phpt2 Bug #47443 (metaphone('scratch') returns wrong result)
6 var_dump(metaphone("scratch"));
7 var_dump(metaphone("scrath"));
8 var_dump(metaphone("scratc"));
H A Dmetaphone.phpt2 metaphone() tests
6 var_dump(metaphone(""));
7 var_dump(metaphone(-1));
10 var_dump(metaphone("valid phrase", -1));
14 var_dump(metaphone("valid phrase", 0));
15 var_dump(metaphone("valid phrase", 10000));
25 var_dump(metaphone($str));
33 metaphone(): Argument #2 ($max_phonemes) must be greater than or equal to 0
H A Dbug48709.phpt2 Bug #48709 (metaphone and 'wh')
19 printf("%s => %s\n", $letter, metaphone($letter));
/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…
26 PHP_FUNCTION(metaphone) in PHP_FUNCTION() argument
43 metaphone((unsigned char *)ZSTR_VAL(str), ZSTR_LEN(str), phones, &result, 1); in PHP_FUNCTION()
162 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p… in metaphone() function
H A Dconfig.w3231 info.c iptc.c lcg.c link.c mail.c math.c md5.c metaphone.c microtime.c \
H A Dconfig.m4464 info.c iptc.c lcg.c link.c mail.c math.c md5.c metaphone.c \
H A Dbasic_functions.stub.php658 function metaphone(string $string, int $max_phonemes = 0): string {} function
H A Dbasic_functions_arginfo.h2441 ZEND_FUNCTION(metaphone);
3078 ZEND_FE(metaphone, arginfo_metaphone)

Completed in 36 milliseconds