Home
last modified time | relevance | path

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

12345678910>>...411

/dports/www/mod_php81/php-8.1.1/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
8 var_dump( strrchr('Hello, World', 'H') );
9 var_dump( strrchr('Hello, World', 'Hello') );
12 var_dump( strrchr("Hello, World", "h") );
13 var_dump( strrchr("Hello, World", "hello") );
16 var_dump( strrchr("Hello, World", "World") );
20 var_dump( strrchr("Hello, World", ",") );
21 var_dump( strrchr('Hello, World', ',') );
26 var_dump( strrchr("Hello, World", "Hi") );
29 var_dump( strrchr("Hello, World", "o") );
[all …]
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
8 var_dump( strrchr('Hello, World', 'H') );
9 var_dump( strrchr('Hello, World', 'Hello') );
12 var_dump( strrchr("Hello, World", "h") );
13 var_dump( strrchr("Hello, World", "hello") );
16 var_dump( strrchr("Hello, World", "World") );
20 var_dump( strrchr("Hello, World", ",") );
21 var_dump( strrchr('Hello, World', ',') );
26 var_dump( strrchr("Hello, World", "Hi") );
29 var_dump( strrchr("Hello, World", "o") );
[all …]
/dports/lang/php80/php-8.0.15/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
8 var_dump( strrchr('Hello, World', 'H') );
9 var_dump( strrchr('Hello, World', 'Hello') );
12 var_dump( strrchr("Hello, World", "h") );
13 var_dump( strrchr("Hello, World", "hello") );
16 var_dump( strrchr("Hello, World", "World") );
20 var_dump( strrchr("Hello, World", ",") );
21 var_dump( strrchr('Hello, World', ',') );
26 var_dump( strrchr("Hello, World", "Hi") );
29 var_dump( strrchr("Hello, World", "o") );
[all …]
/dports/lang/php81/php-8.1.1/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
8 var_dump( strrchr('Hello, World', 'H') );
9 var_dump( strrchr('Hello, World', 'Hello') );
12 var_dump( strrchr("Hello, World", "h") );
13 var_dump( strrchr("Hello, World", "hello") );
16 var_dump( strrchr("Hello, World", "World") );
20 var_dump( strrchr("Hello, World", ",") );
21 var_dump( strrchr('Hello, World', ',') );
26 var_dump( strrchr("Hello, World", "Hi") );
29 var_dump( strrchr("Hello, World", "o") );
[all …]
/dports/lang/php74/php-7.4.27/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
13 var_dump( strrchr('Hello, World', 'H') );
14 var_dump( strrchr('Hello, World', 'Hello') );
17 var_dump( strrchr("Hello, World", "h") );
18 var_dump( strrchr("Hello, World", "hello") );
21 var_dump( strrchr("Hello, World", "World") );
25 var_dump( strrchr("Hello, World", ",") );
26 var_dump( strrchr('Hello, World', ',') );
31 var_dump( strrchr("Hello, World", "Hi") );
34 var_dump( strrchr("Hello, World", "o") );
[all …]
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
79 // loop through each element of the array and check the working of strrchr()
83 var_dump( strrchr($values[$index], $values[$index]) );
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
131 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
135 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
143 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstrrchr_variation10.phpt2 Test strrchr() function : usage variations - unexpected inputs for needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function: with unexpected inputs for needle
14 echo "*** Testing strrchr() function with unexpected inputs for needle ***\n";
124 var_dump( strrchr($haystacks[$index], $needles[$index]) );
133 *** Testing strrchr() function with unexpected inputs for needle ***
172 Warning: strrchr(): needle is not a string or an integer in %s on line %d
176 Warning: strrchr(): needle is not a string or an integer in %s on line %d
180 Warning: strrchr(): needle is not a string or an integer in %s on line %d
184 Warning: strrchr(): needle is not a string or an integer in %s on line %d
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
13 var_dump( strrchr('Hello, World', 'H') );
14 var_dump( strrchr('Hello, World', 'Hello') );
17 var_dump( strrchr("Hello, World", "h") );
18 var_dump( strrchr("Hello, World", "hello") );
21 var_dump( strrchr("Hello, World", "World") );
25 var_dump( strrchr("Hello, World", ",") );
26 var_dump( strrchr('Hello, World', ',') );
31 var_dump( strrchr("Hello, World", "Hi") );
34 var_dump( strrchr("Hello, World", "o") );
[all …]
H A Dstrrchr_error.phpt2 Test strrchr() function : error conditions
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 echo "*** Testing strrchr() function: error conditions ***\n";
15 echo "\n-- Testing strrchr() function with Zero arguments --";
16 var_dump( strrchr() );
19 var_dump( strrchr($haystack) );
22 var_dump( strrchr($haystack, $needle, $extra_arg) );
27 *** Testing strrchr() function: error conditions ***
29 -- Testing strrchr() function with Zero arguments --
30 Warning: strrchr() expects exactly 2 parameters, 0 given in %s on line %d
[all …]
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
79 // loop through each element of the array and check the working of strrchr()
83 var_dump( strrchr($values[$index], $values[$index]) );
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
131 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
135 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
143 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstrrchr_variation10.phpt2 Test strrchr() function : usage variations - unexpected inputs for needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function: with unexpected inputs for needle
14 echo "*** Testing strrchr() function with unexpected inputs for needle ***\n";
124 var_dump( strrchr($haystacks[$index], $needles[$index]) );
133 *** Testing strrchr() function with unexpected inputs for needle ***
172 Warning: strrchr(): needle is not a string or an integer in %s on line %d
176 Warning: strrchr(): needle is not a string or an integer in %s on line %d
180 Warning: strrchr(): needle is not a string or an integer in %s on line %d
184 Warning: strrchr(): needle is not a string or an integer in %s on line %d
[all …]
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
13 var_dump( strrchr('Hello, World', 'H') );
14 var_dump( strrchr('Hello, World', 'Hello') );
17 var_dump( strrchr("Hello, World", "h") );
18 var_dump( strrchr("Hello, World", "hello") );
21 var_dump( strrchr("Hello, World", "World") );
25 var_dump( strrchr("Hello, World", ",") );
26 var_dump( strrchr('Hello, World', ',') );
31 var_dump( strrchr("Hello, World", "Hi") );
34 var_dump( strrchr("Hello, World", "o") );
[all …]
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
79 // loop through each element of the array and check the working of strrchr()
83 var_dump( strrchr($values[$index], $values[$index]) );
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
131 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
135 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
143 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstrrchr_variation10.phpt2 Test strrchr() function : usage variations - unexpected inputs for needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function: with unexpected inputs for needle
14 echo "*** Testing strrchr() function with unexpected inputs for needle ***\n";
124 var_dump( strrchr($haystacks[$index], $needles[$index]) );
133 *** Testing strrchr() function with unexpected inputs for needle ***
172 Warning: strrchr(): needle is not a string or an integer in %s on line %d
176 Warning: strrchr(): needle is not a string or an integer in %s on line %d
180 Warning: strrchr(): needle is not a string or an integer in %s on line %d
184 Warning: strrchr(): needle is not a string or an integer in %s on line %d
[all …]
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt2 Test strrchr() function : basic functionality
13 var_dump( strrchr('Hello, World', 'H') );
14 var_dump( strrchr('Hello, World', 'Hello') );
17 var_dump( strrchr("Hello, World", "h") );
18 var_dump( strrchr("Hello, World", "hello") );
21 var_dump( strrchr("Hello, World", "World") );
25 var_dump( strrchr("Hello, World", ",") );
26 var_dump( strrchr('Hello, World', ',') );
31 var_dump( strrchr("Hello, World", "Hi") );
34 var_dump( strrchr("Hello, World", "o") );
[all …]
H A Dstrrchr_error.phpt2 Test strrchr() function : error conditions
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 echo "*** Testing strrchr() function: error conditions ***\n";
15 echo "\n-- Testing strrchr() function with Zero arguments --";
16 var_dump( strrchr() );
19 var_dump( strrchr($haystack) );
22 var_dump( strrchr($haystack, $needle, $extra_arg) );
27 *** Testing strrchr() function: error conditions ***
29 -- Testing strrchr() function with Zero arguments --
30 Warning: strrchr() expects exactly 2 parameters, 0 given in %s on line %d
[all …]
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
79 // loop through each element of the array and check the working of strrchr()
83 var_dump( strrchr($values[$index], $values[$index]) );
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
131 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
135 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
143 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstrrchr_variation10.phpt2 Test strrchr() function : usage variations - unexpected inputs for needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function: with unexpected inputs for needle
14 echo "*** Testing strrchr() function with unexpected inputs for needle ***\n";
124 var_dump( strrchr($haystacks[$index], $needles[$index]) );
133 *** Testing strrchr() function with unexpected inputs for needle ***
172 Warning: strrchr(): needle is not a string or an integer in %s on line %d
176 Warning: strrchr(): needle is not a string or an integer in %s on line %d
180 Warning: strrchr(): needle is not a string or an integer in %s on line %d
184 Warning: strrchr(): needle is not a string or an integer in %s on line %d
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrrchr_test.cpp16 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "abcde"); in TEST()
25 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), "cde"); in TEST()
34 ASSERT_STREQ(__llvm_libc::strrchr(src, 'e'), "e"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strrchr(src, '\0'), ""); in TEST()
51 ASSERT_STREQ(__llvm_libc::strrchr(src, 'b'), nullptr); in TEST()
53 ASSERT_STREQ(__llvm_libc::strrchr(src, 'c'), nullptr); in TEST()
56 ASSERT_STREQ(__llvm_libc::strrchr(src, 'a'), "a"); in TEST()
70 ASSERT_STREQ(__llvm_libc::strrchr(dups, 'X'), "X"); in TEST()
75 ASSERT_STREQ(__llvm_libc::strrchr("", '\0'), ""); in TEST()
77 ASSERT_STREQ(__llvm_libc::strrchr("", 'A'), nullptr); in TEST()
[all …]

12345678910>>...411