Home
last modified time | relevance | path

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

/PHP-8.2/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.php1603 function strcoll(string $string1, string $string2): int {}
1734 function similar_text(string $string1, string $string2, &$percent = null): int {}
1792 function strnatcmp(string $string1, string $string2): int {}
1800 function strnatcasecmp(string $string1, string $string2): int {}
2279 function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_co…
H A Dbasic_functions_arginfo.h837 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
979 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
1570 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.2/ext/pdo_oci/tests/
H A Dbug60994.phpt53 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
55 $insert->bindParam(':data', $string2, \PDO::PARAM_STR, strlen($string2)); // length in bytes
56 $insert->bindParam(':data2', $string2, \PDO::PARAM_STR, strlen($string2));
64 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
68 if ($string2 != $stream2 || $stream2 != stream_get_contents($row['DATA2'])) {
120 size of string2 is 16380 bytes, 8193 chars.
/PHP-8.2/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.h23 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
28 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.2/ext/oci8/tests/
H A Dbug70700.phpt69 $string2 = 'abc' . str_repeat('£', 4094) . 'xyz';
73 $desc->writeTemporary($string2, OCI_TEMP_CLOB);
75 $desc->save($string2);
93 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
168 size of string2 is 8194 bytes, 4100 chars.
/PHP-8.2/ext/standard/tests/array/
H A Darray_flip_variation3.phpt47 'string_value2' => "string2",
98 ["string2"]=>
/PHP-8.2/ext/intl/spoofchecker/
H A Dspoofchecker.stub.php88 public function areConfusable(string $string1, string $string2, &$errorCode = null): bool {} argument
H A Dspoofchecker_arginfo.h14 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.2/Zend/tests/
H A Dget_defined_vars.phpt16 var $string = "string2";
99 string(7) "string2"
/PHP-8.2/ext/intl/collator/
H A Dcollator.stub.php162 public function compare(string $string1, string $string2): int|false {} argument
H A Dcollator_arginfo.h14 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.2/ext/sodium/
H A Dlibsodium.stub.php713 function sodium_add(string &$string1, string $string2): void {}
H A Dlibsodium_arginfo.h459 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
464 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
/PHP-8.2/ext/pdo_sqlite/
H A Dsqlite_driver.c484 int string2_len, const void *string2) in php_sqlite3_collation_callback() argument
498 ZVAL_STRINGL(&zargs[1], (char *) string2, string2_len); in php_sqlite3_collation_callback()
/PHP-8.2/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.2/ext/intl/
H A Dphp_intl.stub.php293 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 46 milliseconds