Home
last modified time | relevance | path

Searched refs:string1 (Results 1 – 25 of 25) sorted by relevance

/php-src/ext/standard/
H A Dlevenshtein.c21 static zend_long reference_levdist(const zend_string *string1, const zend_string *string2, zend_lon… in reference_levdist() argument
27 if (ZSTR_LEN(string1) == 0) { in reference_levdist()
31 return ZSTR_LEN(string1) * cost_del; in reference_levdist()
37 if (ZSTR_LEN(string1) < ZSTR_LEN(string2) && cost_ins == cost_rep && cost_rep == cost_del) { in reference_levdist()
38 const zend_string *tmp = string1; in reference_levdist()
39 string1 = string2; in reference_levdist()
49 for (i1 = 0; i1 < ZSTR_LEN(string1) ; i1++) { in reference_levdist()
53 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
80 zend_string *string1, *string2; in PHP_FUNCTION() local
85 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|lll", &string1, &string2, &cost_ins, &cost_rep, &co… in PHP_FUNCTION()
[all …]
H A Dbasic_functions.stub.php2316 function strcoll(string $string1, string $string2): int {}
2502 function similar_text(string $string1, string $string2, &$percent = null): int {}
2580 function strnatcmp(string $string1, string $string2): int {}
2588 function strnatcasecmp(string $string1, string $string2): int {}
3098 function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_co…
H A Dbasic_functions_arginfo.h823 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
966 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
1563 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/Zend/
H A Dzend_builtin_functions.stub.php28 function strcmp(string $string1, string $string2): int {} argument
31 function strncmp(string $string1, string $string2, int $length): int {} argument
34 function strcasecmp(string $string1, string $string2): int {} argument
37 function strncasecmp(string $string1, string $string2, int $length): int {} argument
H A Dzend_builtin_functions_arginfo.h28 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
33 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/ext/standard/tests/strings/
H A Daddcslashes_002.phpt15 class string1
21 $obj = new string1;
H A Dtrim1.phpt20 class string1
26 $obj = new string1;
H A Drtrim.phpt21 class string1 {
26 $obj = new string1;
H A Dexplode1.phpt82 class string1 {
87 $obj = new string1;
H A Dstrcasecmp.phpt41 class string1 {
46 $obj_string1 = new string1;
H A Dstrcmp.phpt41 class string1 {
46 $obj_string1 = new string1;
/php-src/ext/pcre/tests/
H A Dpreg_quote_basic.phpt12 $string1 = 'testing - /this *-has \ metacharacters^ in $ should work';
13 …tch('/^[tT]\w{6} - ' . preg_quote($string_before, '/') . ' [a-z]*\s*work$/', $string1, $matches1));
/php-src/ext/standard/tests/array/
H A Darray_flip_variation3.phpt36 'string_value1' => 'string1',
84 ["string1"]=>
/php-src/Zend/tests/
H A Dget_defined_vars.phpt10 $assoc_array = array( 'a'=>97, 'c'=>99, 'A'=>65, 'C'=>67, 1=>"string1" ); //associative array
92 string(7) "string1"
/php-src/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php66 public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {} argument
H A Dspoofchecker_arginfo.h13 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/ext/ldap/tests/
H A Dldap_list_read_search_parallel_programming_errors.phpt17 "string1",
56 "string1",
/php-src/ext/intl/collator/
H A Dcollator.stub.php90 public function compare(string $string1, string $string2): int|false {} argument
H A Dcollator_arginfo.h13 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c335 static int php_sqlite_collation_callback(void *context, int string1_len, const void *string1, in php_sqlite_collation_callback() argument
344 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite_collation_callback()
H A Dsqlite_driver.c456 static int php_sqlite3_collation_callback(void *context, int string1_len, const void *string1, int … in php_sqlite3_collation_callback() argument
464 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
/php-src/ext/sodium/
H A Dlibsodium.stub.php775 function sodium_add(string &$string1, string $string2): void {}
H A Dlibsodium_arginfo.h438 ZEND_ARG_TYPE_INFO(1, string1, IS_STRING, 0)
443 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/ext/intl/
H A Dphp_intl.stub.php295 function collator_compare(Collator $object, string $string1, string $string2): int|false {} argument
H A Dphp_intl_arginfo.h210 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)

Completed in 106 milliseconds