Lines Matching refs:mb_strrichr

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