Home
last modified time | relevance | path

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

/PHP-8.2/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.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.h836 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
978 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
1569 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.2/ext/pdo_oci/tests/
H A Dbug60994.phpt33 $string1 = 'abc' . str_repeat('j', 8187) . 'xyz'; // 8193 chars total works fine here (even 1 milli…
35 $insert->bindParam(':data', $string1, \PDO::PARAM_STR, strlen($string1)); // length in bytes
36 $insert->bindParam(':data2', $string1, \PDO::PARAM_STR, strlen($string1));
44 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
48 if ($string1 != $stream1 || $stream1 != stream_get_contents($row['DATA2'])) {
114 size of string1 is 8193 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.h22 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
27 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.2/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-8.2/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-8.2/ext/oci8/tests/
H A Dbug70700.phpt38 $string1 = 'abc' . str_repeat('j', 1000000) . 'xyz';
42 $desc->writeTemporary($string1, OCI_TEMP_CLOB);
44 $desc->save($string1);
62 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
162 size of string1 is 1000006 bytes, 1000006 chars.
/PHP-8.2/ext/standard/tests/array/
H A Darray_flip_variation3.phpt36 'string_value1' => 'string1',
84 ["string1"]=>
/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.h13 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.2/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-8.2/ext/intl/collator/
H A Dcollator.stub.php162 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-8.2/ext/sodium/
H A Dlibsodium.stub.php713 function sodium_add(string &$string1, string $string2): void {}
H A Dlibsodium_arginfo.h458 ZEND_ARG_TYPE_INFO(1, string1, IS_STRING, 0)
463 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.2/ext/pdo_sqlite/
H A Dsqlite_driver.c483 int string1_len, const void *string1, in php_sqlite3_collation_callback() argument
497 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
/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.h210 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)

Completed in 71 milliseconds