Lines Matching refs:mb_strrchr
2 Test mb_strrchr() function : usage variation - different encoding types
6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build");
10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
16 echo "*** Testing mb_strrchr() : usage variation ***\n";
114 var_dump( mb_strrchr($haystack, $needle, $part, $value) );
122 *** Testing mb_strrchr() : usage variation ***
125 Error: 2 - mb_strrchr(): Unknown encoding "0", %s(%d)
129 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d)
133 Error: 2 - mb_strrchr(): Unknown encoding "12345", %s(%d)
137 Error: 2 - mb_strrchr(): Unknown encoding "-2345", %s(%d)
141 Error: 2 - mb_strrchr(): Unknown encoding "10.5", %s(%d)
145 Error: 2 - mb_strrchr(): Unknown encoding "-10.5", %s(%d)
149 Error: 2 - mb_strrchr(): Unknown encoding "123456789000", %s(%d)
153 Error: 2 - mb_strrchr(): Unknown encoding "-123456789000", %s(%d)
157 Error: 2 - mb_strrchr(): Unknown encoding "0.5", %s(%d)
161 Error: 2 - mb_strrchr() expects parameter 4 to be string, array given, %s(%d)
165 Error: 2 - mb_strrchr() expects parameter 4 to be string, array given, %s(%d)
169 Error: 2 - mb_strrchr() expects parameter 4 to be string, array given, %s(%d)
173 Error: 2 - mb_strrchr() expects parameter 4 to be string, array given, %s(%d)
177 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
181 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
185 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d)
189 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
193 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d)
197 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
201 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
205 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
209 Error: 2 - mb_strrchr(): Unknown encoding "invalid", %s(%d)
213 Error: 2 - mb_strrchr() expects parameter 4 to be string, object given, %s(%d)
217 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
221 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d)
225 Error: 2 - mb_strrchr() expects parameter 4 to be string, resource given, %s(%d)