Lines Matching refs:haystack

2 Test stripos() function : usage variations - unexpected inputs for 'haystack' and 'needle' arguments
5 /* Test stripos() function with unexpected inputs for 'haystack' and 'needle' arguments */
7 echo "*** Testing stripos() function with unexpected values for haystack and needle ***\n";
78 $haystack = $values[$index];
95 *** Testing stripos() function with unexpected values for haystack and needle ***
124 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
125 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
127 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
128 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
130 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
131 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
133 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
134 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
136 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
137 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
143 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
149 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
155 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
158 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
161 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
164 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
166 TypeError: stripos(): Argument #1 ($haystack) must be of type string, resource given
167 TypeError: stripos(): Argument #1 ($haystack) must be of type string, resource given
170 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
173 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)