Lines Matching refs:scandir
2 Test scandir() function : usage variations - diff data types as $sorting_order arg
5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
11 * Pass different data types as $sorting_order argument to test how scandir() behaves
14 echo "*** Testing scandir() : usage variations ***\n";
89 // loop through each element of $inputs to check the behavior of scandir()
93 var_dump( scandir($dir, $input) );
106 *** Testing scandir() : usage variations ***
230 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d
235 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d
240 Warning: scandir() expects parameter 2 to be long, array given in %s on line %d
245 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d
250 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d
255 Warning: scandir() expects parameter 2 to be long, string given in %s on line %d
260 Warning: scandir() expects parameter 2 to be long, object given in %s on line %d
281 Warning: scandir() expects parameter 2 to be long, resource given in %s on line %d