Lines Matching refs:opendir

2 Test opendir() function : usage variations - different data types as $context arg
5 /* Prototype : mixed opendir(string $path[, resource $context])
11 * Pass different data types as $context argument to opendir() to test behaviour
14 echo "*** Testing opendir() : usage variation ***\n";
93 // loop through each element of $inputs to check the behavior of opendir()
97 var_dump($dh = opendir($path, $input) );#
113 *** Testing opendir() : usage variation ***
117 Warning: opendir() expects parameter 2 to be resource, integer given in %s on line %d
122 Warning: opendir() expects parameter 2 to be resource, integer given in %s on line %d
127 Warning: opendir() expects parameter 2 to be resource, integer given in %s on line %d
132 Warning: opendir() expects parameter 2 to be resource, integer given in %s on line %d
137 Warning: opendir() expects parameter 2 to be resource, double given in %s on line %d
142 Warning: opendir() expects parameter 2 to be resource, double given in %s on line %d
147 Warning: opendir() expects parameter 2 to be resource, double given in %s on line %d
152 Warning: opendir() expects parameter 2 to be resource, double given in %s on line %d
157 Warning: opendir() expects parameter 2 to be resource, double given in %s on line %d
162 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d
167 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d
172 Warning: opendir() expects parameter 2 to be resource, boolean given in %s on line %d
177 Warning: opendir() expects parameter 2 to be resource, boolean given in %s on line %d
182 Warning: opendir() expects parameter 2 to be resource, boolean given in %s on line %d
187 Warning: opendir() expects parameter 2 to be resource, boolean given in %s on line %d
192 Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d
197 Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d
202 Warning: opendir() expects parameter 2 to be resource, array given in %s on line %d
207 Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d
212 Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d
217 Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d
222 Warning: opendir() expects parameter 2 to be resource, object given in %s on line %d
227 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d
232 Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d
237 Warning: opendir(): supplied resource is not a valid Stream-Context resource in %s on line %d