Lines Matching refs:end
2 Test end() function : usage variations - Pass different data types as $array_arg
5 /* Prototype : mixed end(array $array_arg)
11 * Pass different data types as $array_arg to test behaviour of end()
14 echo "*** Testing end() : usage variations ***\n";
86 // loop through each element of $inputs to check the behavior of end()
90 var_dump( end($input) );
98 *** Testing end() : usage variations ***
102 Warning: end() expects parameter 1 to be array, integer given in %s on line %d
107 Warning: end() expects parameter 1 to be array, integer given in %s on line %d
112 Warning: end() expects parameter 1 to be array, integer given in %s on line %d
117 Warning: end() expects parameter 1 to be array, integer given in %s on line %d
122 Warning: end() expects parameter 1 to be array, float given in %s on line %d
127 Warning: end() expects parameter 1 to be array, float given in %s on line %d
132 Warning: end() expects parameter 1 to be array, float given in %s on line %d
137 Warning: end() expects parameter 1 to be array, float given in %s on line %d
142 Warning: end() expects parameter 1 to be array, float given in %s on line %d
147 Warning: end() expects parameter 1 to be array, null given in %s on line %d
152 Warning: end() expects parameter 1 to be array, null given in %s on line %d
157 Warning: end() expects parameter 1 to be array, boolean given in %s on line %d
162 Warning: end() expects parameter 1 to be array, boolean given in %s on line %d
167 Warning: end() expects parameter 1 to be array, boolean given in %s on line %d
172 Warning: end() expects parameter 1 to be array, boolean given in %s on line %d
177 Warning: end() expects parameter 1 to be array, string given in %s on line %d
182 Warning: end() expects parameter 1 to be array, string given in %s on line %d
190 Warning: end() expects parameter 1 to be array, string given in %s on line %d
195 Warning: end() expects parameter 1 to be array, string given in %s on line %d
200 Warning: end() expects parameter 1 to be array, string given in %s on line %d
208 Warning: end() expects parameter 1 to be array, null given in %s on line %d
213 Warning: end() expects parameter 1 to be array, null given in %s on line %d
218 Warning: end() expects parameter 1 to be array, resource given in %s on line %d