Searched refs:similar_text (Results 1 – 5 of 5) sorted by relevance
/PHP-7.2/ext/standard/tests/strings/ |
H A D | similar_text_basic.phpt | 2 similar_text(), basic tests 10 /* Prototype : proto int similar_text(string str1, string str2 [, float percent]) 14 var_dump(similar_text("abcdefgh", "efg")); 15 var_dump(similar_text("abcdefgh", "mno")); 16 var_dump(similar_text("abcdefghcc", "c")); 17 var_dump(similar_text("abcdefghabcdef", "zzzzabcdefggg")); 20 similar_text("abcdefgh", "efg", $percent); 22 similar_text("abcdefgh", "mno", $percent); 24 similar_text("abcdefghcc", "c", $percent); 26 similar_text("abcdefghabcdef", "zzzzabcdefggg", $percent);
|
H A D | similar_text_error.phpt | 2 similar_text(), error tests for missing parameters 8 /* Prototype : proto int similar_text(string str1, string str2 [, float percent]) 14 echo "\n-- Testing similar_text() function with more than expected no. of arguments --\n"; 15 similar_text("abc", "def", $percent, $extra_arg); 17 echo "\n-- Testing similar_text() function with less than expected no. of arguments --\n"; 18 similar_text("abc"); 22 -- Testing similar_text() function with more than expected no. of arguments -- 24 Warning: similar_text() expects at most 3 parameters, 4 given in %s on line %d 26 -- Testing similar_text() function with less than expected no. of arguments -- 28 Warning: similar_text() expects at least 2 parameters, 1 given in %s on line %d
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 82 PHP_FUNCTION(similar_text);
|
H A D | basic_functions.c | 2814 PHP_FE(similar_text, arginfo_similar_text)
|
H A D | string.c | 3581 PHP_FUNCTION(similar_text) argument
|
Completed in 31 milliseconds