Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dlevenshtein.c22 static zend_long reference_levdist(const zend_string *string1, const zend_string *string2, zend_lon… in reference_levdist() argument
28 if (ZSTR_LEN(string1) == 0) { in reference_levdist()
32 return ZSTR_LEN(string1) * cost_del; in reference_levdist()
41 for (i1 = 0; i1 < ZSTR_LEN(string1) ; i1++) { in reference_levdist()
45 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
72 zend_string *string1, *string2; in PHP_FUNCTION() local
77 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|lll", &string1, &string2, &cost_ins, &cost_rep, &co… in PHP_FUNCTION()
82 RETURN_LONG(reference_levdist(string1, string2, cost_ins, cost_rep, cost_del)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php2328 function strcoll(string $string1, string $string2): int {}
2514 function similar_text(string $string1, string $string2, &$percent = null): int {}
2592 function strnatcmp(string $string1, string $string2): int {}
2600 function strnatcasecmp(string $string1, string $string2): int {}
3110 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)
1565 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/php-src/Zend/
H A Dzend_builtin_functions.stub.php23 function strcmp(string $string1, string $string2): int {} argument
26 function strncmp(string $string1, string $string2, int $length): int {} argument
29 function strcasecmp(string $string1, string $string2): int {} argument
32 function strncasecmp(string $string1, string $string2, int $length): int {} argument
H A Dzend_builtin_functions_arginfo.h22 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
27 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/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php55 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/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/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
349 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite_collation_callback()
H A Dsqlite_driver.c459 static int php_sqlite3_collation_callback(void *context, int string1_len, const void *string1, int … in php_sqlite3_collation_callback() argument
472 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.h504 ZEND_ARG_TYPE_INFO(1, string1, IS_STRING, 0)
509 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 68 milliseconds