Lines Matching refs:scandir
2 Test scandir() function : usage variations - diff data types as $sorting_order arg
7 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
13 * Pass different data types as $sorting_order argument to test how scandir() behaves
16 echo "*** Testing scandir() : usage variations ***\n";
91 // loop through each element of $inputs to check the behavior of scandir()
95 var_dump( scandir($dir, $input) );
108 *** Testing scandir() : usage variations ***
232 Warning: scandir() expects parameter 2 to be integer, string given in %s on line %d
237 Warning: scandir() expects parameter 2 to be integer, string given in %s on line %d
242 Warning: scandir() expects parameter 2 to be integer, array given in %s on line %d
247 Warning: scandir() expects parameter 2 to be integer, string given in %s on line %d
252 Warning: scandir() expects parameter 2 to be integer, string given in %s on line %d
257 Warning: scandir() expects parameter 2 to be integer, string given in %s on line %d
262 Warning: scandir() expects parameter 2 to be integer, object given in %s on line %d
283 Warning: scandir() expects parameter 2 to be integer, resource given in %s on line %d