Lines Matching refs:dir
2 Test dir() function : usage variations - unexpected value for 'context' argument
6 * Prototype : object dir(string $directory[, resource $context])
8 * Source code: ext/standard/dir.c
12 * Passing non resource values to 'context' argument of dir() and see
16 echo "*** Testing dir() : unexpected values for \$context argument ***\n";
92 // loop through various elements of $unexpected_values to check the behavior of dir()
96 var_dump( dir($directory, $unexpected_value) );
110 *** Testing dir() : unexpected values for $context argument ***
113 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
117 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
121 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
125 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
129 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
133 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
137 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
141 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
145 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
149 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
153 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
157 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
161 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
165 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
169 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
173 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
177 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
181 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
185 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
189 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
193 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
197 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
201 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
205 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
209 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
213 Warning: dir() expects parameter 2 to be resource, object given in %s on line %d
217 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
221 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d