Home
last modified time | relevance | path

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

/PHP-8.0/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.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.h826 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
968 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
1554 ZEND_ARG_TYPE_INFO(0, string1, 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.h22 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
27 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.0/ext/standard/tests/strings/
H A Daddcslashes_002.phpt15 class string1
21 $obj = new string1;
H A Dtrim1.phpt23 class string1
29 $obj = new string1;
H A Drtrim.phpt22 class string1 {
27 $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.0/ext/pdo_oci/tests/
H A Dbug60994.phpt30 $string1 = 'abc' . str_repeat('j', 8187) . 'xyz'; // 8193 chars total works fine here (even 1 milli…
32 $insert->bindParam(':data', $string1, \PDO::PARAM_STR, strlen($string1)); // length in bytes
40 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
100 size of string1 is 1000006 bytes, 1000006 chars.
/PHP-8.0/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.0/ext/oci8/tests/
H A Dbug70700.phpt36 $string1 = 'abc' . str_repeat('j', 1000000) . 'xyz';
40 $desc->writeTemporary($string1, OCI_TEMP_CLOB);
42 $desc->save($string1);
60 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
160 size of string1 is 1000006 bytes, 1000006 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.h13 ZEND_ARG_TYPE_INFO(0, string1, 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.h11 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.0/ext/standard/tests/array/
H A Darray_flip_variation3.phpt36 'string_value1' => 'string1',
84 ["string1"]=>
/PHP-8.0/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.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.h352 ZEND_ARG_TYPE_INFO(1, string1, IS_STRING, 0)
357 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_driver.c480 int string1_len, const void *string1, in php_sqlite3_collation_callback() argument
494 ZVAL_STRINGL(&zargs[0], (char *) string1, string1_len); in php_sqlite3_collation_callback()
/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.h210 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)

Completed in 50 milliseconds