/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() 108 c2 = *str2++; in PRIV() 130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV() 133 while (*str1 != '\0' || *str2 != '\0') in PRIV() 136 c2 = *str2++; in PRIV() 157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV() 163 c2 = *str2++; in PRIV() 192 c2 = *str2++; in PRIV() 229 PRIV(strcpy_c8)(PCRE2_UCHAR *str1, const char *str2) in PRIV() [all …]
|
/php-src/ext/sodium/tests/ |
H A D | inc_add.phpt | 16 $str2 = $str; 18 var_dump($str, $str2); 21 $str2 = $str; 23 var_dump($str, $str2); 35 $str2 = $str; 37 var_dump($str, $str2); 40 $str2 = $str; 42 var_dump($str, $str2);
|
/php-src/ext/standard/tests/strings/ |
H A D | str_word_count.phpt | 38 $str2 = "F0o B4r 1s bar foo"; 39 var_dump(str_word_count($str2, 0, "04")); 40 var_dump(str_word_count($str2, 0, "01")); 41 var_dump(str_word_count($str2, 0, "014")); 42 var_dump(str_word_count($str2, 0, "")); 43 var_dump(str_word_count($str2, 1, "04")); 44 var_dump(str_word_count($str2, 1, "01")); 46 var_dump(str_word_count($str2, 1, "")); 47 var_dump(str_word_count($str2, 2, "04")); 48 var_dump(str_word_count($str2, 2, "01")); [all …]
|
H A D | strnatcmp_leftalign.phpt | 10 $str2 = " 0"; 11 var_dump( strnatcmp( $str1, $str2) ); 15 $str2 = " 00"; 16 var_dump( strnatcmp( $str1, $str2) );
|
H A D | strncmp_variation7.phpt | 5 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate… 11 $str2 = "Hello\0"; 12 var_dump( strncmp($str1, $str2, 12) ); //expected: int(5);
|
H A D | strncasecmp_variation7.phpt | 5 … strncasecmp() function with null terminated strings and binary values passed to 'str1' & 'str2' */ 11 $str2 = "Hello\0"; 13 var_dump( strncasecmp($str1, $str2, 12) );
|
H A D | strncmp_variation9.phpt | 5 /* Test strncmp() function with different strings for 'str1', 'str2' and considering case sensitive… 17 $str2 = <<<identifier_str2 38 $str2,
|
H A D | strncasecmp_error.phpt | 7 $str2 = 'string_val'; 13 var_dump( strncasecmp($str1, $str2, $len) );
|
H A D | strncmp_error.phpt | 9 $str2 = 'string_val'; 15 var_dump( strncmp($str1, $str2, $len) );
|
H A D | wordwrap_memory_limit.phpt | 14 $str2 = str_repeat('x', 65535); 15 wordwrap($str, 1, $str2);
|
H A D | wordwrap_memory_limit_32bit.phpt | 14 $str2 = str_repeat('x', 65535); 15 wordwrap($str, 1, $str2);
|
/php-src/ext/gd/tests/ |
H A D | bug41442.phpt | 24 $str2 = ob_get_clean(); 25 var_dump(imagecreatefromstring($str2)); 30 $str2 = file_get_contents($file); 31 var_dump(imagecreatefromstring($str2));
|
/php-src/ext/mbstring/tests/ |
H A D | bug65045.phpt | 11 $str2 = "\xF0\xA4\xAD\xA2"."\xF0\xA4\xAD\xA2"."\xF0\xA4\xAD"; 16 echo bin2hex(htmlspecialchars_decode(htmlspecialchars($str2, ENT_SUBSTITUTE, 'UTF-8'))), "\n"; 18 echo bin2hex(mb_convert_encoding($str2, 'UTF-8', 'UTF-8')), "\n";
|
/php-src/ext/standard/tests/array/ |
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"); 37 ["str2"]=> 60 ["str2"]=>
|
H A D | array_merge_recursive_variation10.phpt | 15 "array" => array("hello", "world", "str1" => "hello", "str2" => 'world'), 61 ["str2"]=> 108 ["str2"]=> 151 ["str2"]=> 162 ["str2"]=>
|
H A D | array_merge_recursive_variation6.phpt | 16 $arr1_string_key = array("str1" => "hello", "str2" => 111, "str1" => "world", "str2" => 111.111); 55 ["str2"]=> 96 ["str2"]=>
|
H A D | array_diff_assoc_variation10.phpt | 15 "str2" => "world"); 34 ["str2"]=>
|
/php-src/ext/zlib/tests/ |
H A D | gzseek_variation1.phpt | 10 $str2 = "This is the second line."; 15 gzwrite($h, $str2); 20 echo gzread($h, strlen($str2))."\n";
|
H A D | gzseek_basic2.phpt | 10 $str2 = "This is the second line."; 17 gzwrite($h, $str2); 24 echo gzread($h, strlen($str2))."\n";
|
H A D | gzseek_variation4.phpt | 10 $str2 = "This is the second line."; 17 gzwrite($h, $str2); 24 echo gzread($h, strlen($str2))."\n";
|
H A D | gzseek_variation5.phpt | 10 $str2 = "This is the second line."; 17 gzwrite($h, $str2); 24 echo gzread($h, strlen($str2))."\n";
|
/php-src/Zend/tests/ |
H A D | bug53629.phpt | 15 $str2 = ' 25 highlight_string($str2, true);
|
/php-src/ext/intl/collator/ |
H A D | collator_compare.c | 28 char* str2 = NULL; in PHP_FUNCTION() local 43 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) in PHP_FUNCTION() 82 &ustr2, &ustr2_len, str2, str2_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
|
/php-src/ext/pcre/tests/ |
H A D | bug44925.phpt | 6 $str2 = 'b'; 8 $array=Array("1",2,3,1.1,FALSE,NULL,Array(), $str1, &$str2); 18 $str2 = 'y';
|
/php-src/ext/standard/tests/general_functions/ |
H A D | ob_start_closures.phpt | 23 $str2 = ob_get_contents (); 27 echo $str1, $str2;
|