Lines Matching refs:scandir
2 Test scandir() function : usage variations - diff data types as $context arg
5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
11 * Pass different data types as $context argument to test how scandir() behaves
14 echo "*** Testing scandir() : usage variations ***\n";
90 // loop through each element of $inputs to check the behavior of scandir()
94 var_dump( scandir($dir, $sorting_order, $input) );
107 *** Testing scandir() : usage variations ***
111 Warning: scandir() expects parameter 3 to be resource, integer given in %s on line %d
116 Warning: scandir() expects parameter 3 to be resource, integer given in %s on line %d
121 Warning: scandir() expects parameter 3 to be resource, integer given in %s on line %d
126 Warning: scandir() expects parameter 3 to be resource, integer given in %s on line %d
131 Warning: scandir() expects parameter 3 to be resource, double given in %s on line %d
136 Warning: scandir() expects parameter 3 to be resource, double given in %s on line %d
141 Warning: scandir() expects parameter 3 to be resource, double given in %s on line %d
146 Warning: scandir() expects parameter 3 to be resource, double given in %s on line %d
151 Warning: scandir() expects parameter 3 to be resource, double given in %s on line %d
156 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d
161 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d
166 Warning: scandir() expects parameter 3 to be resource, boolean given in %s on line %d
171 Warning: scandir() expects parameter 3 to be resource, boolean given in %s on line %d
176 Warning: scandir() expects parameter 3 to be resource, boolean given in %s on line %d
181 Warning: scandir() expects parameter 3 to be resource, boolean given in %s on line %d
186 Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d
191 Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d
196 Warning: scandir() expects parameter 3 to be resource, array given in %s on line %d
201 Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d
206 Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d
211 Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d
216 Warning: scandir() expects parameter 3 to be resource, object given in %s on line %d
221 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d
226 Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d
231 Warning: scandir(): supplied resource is not a valid Stream-Context resource in %s on line %d