Home
last modified time | relevance | path

Searched refs:string2 (Results 1 – 21 of 21) sorted by relevance

/PHP-8.0/ext/standard/
H A Dlevenshtein.c29 return ZSTR_LEN(string2) * cost_ins; in reference_levdist()
31 if (ZSTR_LEN(string2) == 0) { in reference_levdist()
35 p1 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
36 p2 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
38 for (i2 = 0; i2 <= ZSTR_LEN(string2); i2++) { in reference_levdist()
44 for (i2 = 0; i2 < ZSTR_LEN(string2); i2++) { in reference_levdist()
45 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
60 c0 = p1[ZSTR_LEN(string2)]; 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()
[all …]
H A Dbasic_functions.stub.php549 function strcoll(string $string1, string $string2): int {} argument
627 function similar_text(string $string1, string $string2, &$percent = null): int {} argument
664 function strnatcmp(string $string1, string $string2): int {} argument
668 function strnatcasecmp(string $string1, string $string2): int {} argument
1011 function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_co… argument
H A Dbasic_functions_arginfo.h827 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
969 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
1555 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.0/Zend/
H A Dzend_builtin_functions.stub.php15 function strcmp(string $string1, string $string2): int {} argument
17 function strncmp(string $string1, string $string2, int $length): int {} argument
19 function strcasecmp(string $string1, string $string2): int {} argument
21 function strncasecmp(string $string1, string $string2, int $length): int {} argument
H A Dzend_builtin_functions_arginfo.h23 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
28 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.0/ext/pdo_oci/tests/
H A Dbug60994.phpt47 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
49 $insert->bindParam(':data', $string2, \PDO::PARAM_STR, strlen($string2)); // length in bytes
57 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
106 size of string2 is 16380 bytes, 8193 chars.
/PHP-8.0/ext/oci8/tests/
H A Dbug70700.phpt67 $string2 = 'abc' . str_repeat('£', 4094) . 'xyz';
71 $desc->writeTemporary($string2, OCI_TEMP_CLOB);
73 $desc->save($string2);
91 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
166 size of string2 is 8194 bytes, 4100 chars.
/PHP-8.0/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php19 public function areConfusable(string $string1, string $string2, &$errorCode = null) {} argument
H A Dspoofchecker_arginfo.h14 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.0/ext/intl/collator/
H A Dcollator.stub.php19 public function compare(string $string1, string $string2) {} argument
H A Dcollator_arginfo.h12 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.0/ext/standard/tests/array/
H A Darray_flip_variation3.phpt47 'string_value2' => "string2",
98 ["string2"]=>
/PHP-8.0/Zend/tests/
H A Dget_defined_vars.phpt16 var $string = "string2";
99 string(7) "string2"
/PHP-8.0/ext/sodium/
H A Dlibsodium.stub.php163 function sodium_add(string &$string1, string $string2): void {} argument
165 function sodium_compare(string $string1, string $string2): int {} argument
169 function sodium_memcmp(string $string1, string $string2): int {} argument
H A Dlibsodium_arginfo.h353 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
358 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_driver.c481 int string2_len, const void *string2) in php_sqlite3_collation_callback() argument
495 ZVAL_STRINGL(&zargs[1], (char *) string2, string2_len); in php_sqlite3_collation_callback()
/PHP-8.0/ext/standard/tests/strings/
H A Dchunk_split_variation12.phpt93 …gng \k escaThis is simple heredoc stringpe char 22This is simple heredoc string2.This is simple he…
H A Dstrcasecmp.phpt48 class string2 {
53 $obj_string2 = new string2;
H A Dstrcmp.phpt48 class string2 {
53 $obj_string2 = new string2;
/PHP-8.0/ext/intl/
H A Dphp_intl.stub.php124 function collator_compare(Collator $object, string $string1, string $string2): int|false {} argument
H A Dphp_intl_arginfo.h211 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)

Completed in 43 milliseconds