/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_string_utils.c | 102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV() 105 while (*str1 != '\0' || *str2 != '\0') in PRIV() 107 c1 = *str1++; in PRIV() 130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV() 133 while (*str1 != '\0' || *str2 != '\0') in PRIV() 135 c1 = *str1++; in PRIV() 162 c1 = *str1++; in PRIV() 191 c1 = *str1++; in PRIV() 229 PRIV(strcpy_c8)(PCRE2_UCHAR *str1, const char *str2) in PRIV() 231 PCRE2_UCHAR *t = str1; in PRIV() [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | strnatcmp_leftalign.phpt | 9 $str1 = " 00"; 11 var_dump( strnatcmp( $str1, $str2) ); 14 $str1 = " 0"; 16 var_dump( strnatcmp( $str1, $str2) );
|
H A D | strncasecmp_variation3.phpt | 9 $str1 = "Hello, World\n"; 13 for($len = strlen($str1); $len >= 0; $len--) { 14 var_dump( strncasecmp($str1, $str2, $len) );
|
H A D | strncmp_variation3.phpt | 9 $str1 = "Hello, World\n"; 13 for($len = strlen($str1); $len >= 0; $len--) { 14 var_dump( strncmp($str1, $str2, $len) );
|
H A D | strncmp_variation7.phpt | 5 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate… 10 $str1 = "Hello\0world"; 12 var_dump( strncmp($str1, $str2, 12) ); //expected: int(5);
|
H A D | strncasecmp_variation7.phpt | 5 /* Test strncasecmp() function with null terminated strings and binary values passed to 'str1' & 's… 10 $str1 = "Hello\0world"; 13 var_dump( strncasecmp($str1, $str2, 12) );
|
H A D | strncasecmp_variation1.phpt | 5 /* Test strncasecmp() function with upper-case and lower-case alphabets as inputs for 'str1' and 's… 8 echo "-- Passing upper-case letters for 'str1' --\n"; 14 echo "\n-- Passing lower-case letters for 'str1' --\n"; 23 -- Passing upper-case letters for 'str1' -- 77 -- Passing lower-case letters for 'str1' --
|
H A D | strncmp_variation1.phpt | 5 /* Test strncmp() function with upper-case and lower-case alphabets as inputs for 'str1' and 'str2'… 8 echo "-- Passing upper-case letters for 'str1' --\n"; 14 echo "\n-- Passing lower-case letters for 'str1' --\n"; 23 -- Passing upper-case letters for 'str1' -- 77 -- Passing lower-case letters for 'str1' --
|
H A D | strncmp_variation9.phpt | 5 /* Test strncmp() function with different strings for 'str1', 'str2' and considering case sensitive… 10 $str1 = <<<EOD 37 $str1,
|
H A D | strncasecmp_error.phpt | 6 $str1 = 'string_val'; 13 var_dump( strncasecmp($str1, $str2, $len) );
|
H A D | strncmp_error.phpt | 8 $str1 = 'string_val'; 15 var_dump( strncmp($str1, $str2, $len) );
|
/php-src/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation6.phpt | 16 $arr1_string_key = array("str1" => "hello", "str2" => 111, "str1" => "world", "str2" => 111.111); 19 $arr2 = array("one", "str1" => "two", array("one", "two")); 53 ["str1"]=> 78 ["str1"]=> 89 ["str1"]=>
|
H A D | array_merge_recursive_variation8.phpt | 12 $arr1 = array(b"1", b"hello" => "hello", b"world", "str1" => b"hello", "str2" => "world"); 15 $arr2 = array(b"str1" => b"binary", b"hello" => "binary", b"str2" => b"binary"); 35 ["str1"]=> 53 ["str1"]=>
|
H A D | array_merge_recursive_variation10.phpt | 15 "array" => array("hello", "world", "str1" => "hello", "str2" => 'world'), 59 ["str1"]=> 106 ["str1"]=> 149 ["str1"]=> 160 ["str1"]=>
|
H A D | array_diff_assoc_variation10.phpt | 14 "str1" => "hello", 32 ["str1"]=>
|
/php-src/ext/zlib/tests/ |
H A D | gzseek_variation1.phpt | 9 $str1 = "This is the first line."; 11 gzwrite($h, $str1); 14 gzseek($h, strlen($str1) + 20); 18 echo gzread($h, strlen($str1))."\n";
|
H A D | gzseek_basic2.phpt | 9 $str1 = "This is the first line."; 11 gzwrite($h, $str1); 15 gzseek($h, strlen($str1) + 20); 22 echo gzread($h, strlen($str1))."\n";
|
H A D | gzseek_variation4.phpt | 9 $str1 = "This is the first line."; 11 gzwrite($h, $str1); 15 gzseek($h, strlen($str1) + 20, SEEK_SET); 22 echo gzread($h, strlen($str1))."\n";
|
H A D | gzseek_variation5.phpt | 9 $str1 = "This is the first line."; 11 gzwrite($h, $str1); 22 echo gzread($h, strlen($str1))."\n";
|
/php-src/ext/intl/collator/ |
H A D | collator_compare.c | 27 char* str1 = NULL; in PHP_FUNCTION() local 43 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) in PHP_FUNCTION() 66 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
|
/php-src/ext/pcre/tests/ |
H A D | bug44925.phpt | 5 $str1 = 'a'; 8 $array=Array("1",2,3,1.1,FALSE,NULL,Array(), $str1, &$str2); 17 $str1 = 'x';
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-mbstring.c | 43 void assert_zend_string_eql(zend_string *str1, zend_string *str2) in assert_zend_string_eql() argument 45 ZEND_ASSERT(ZSTR_LEN(str1) == ZSTR_LEN(str2)); in assert_zend_string_eql() 46 for (int i = 0; i < ZSTR_LEN(str1); i++) { in assert_zend_string_eql() 47 ZEND_ASSERT(ZSTR_VAL(str1)[i] == ZSTR_VAL(str2)[i]); in assert_zend_string_eql()
|
/php-src/ext/opcache/tests/jit/ |
H A D | switch_jumptable.phpt | 14 case 'str1': 33 test1("str1");
|
/php-src/ext/standard/tests/general_functions/ |
H A D | ob_start_closures.phpt | 19 $str1 = ob_get_contents (); 27 echo $str1, $str2;
|
/php-src/ext/intl/tests/ |
H A D | collator_compare_variant2.phpt | 43 list( $str1, $str2 ) = $test_strings; 46 $res_val = cmp_to_char( ut_coll_compare( $coll, $str1, $str2 ) ); 49 $res_str .= dump( $str1 ) .
|