Lines Matching refs:dir
2 Test dir() function : usage variations - unexpected value for 'context' argument
12 * Prototype : object dir(string $directory[, resource $context])
14 * Source code: ext/standard/dir.c
18 * Passing non resource values to 'context' argument of dir() and see
22 echo "*** Testing dir() : unexpected values for \$context argument ***\n";
98 // loop through various elements of $unexpected_values to check the behavior of dir()
102 var_dump( dir($directory, $unexpected_value) );
116 *** Testing dir() : unexpected values for $context argument ***
119 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
123 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
127 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
131 Warning: dir() expects parameter 2 to be resource, integer given in %s on line %d
135 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
139 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
143 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
147 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
151 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
155 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
159 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
163 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
167 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
171 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
175 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
179 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
183 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
187 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
191 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
195 Warning: dir() expects parameter 2 to be resource, boolean given in %s on line %d
199 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
203 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
207 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
211 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
215 Warning: dir() expects parameter 2 to be resource, string given in %s on line %d
219 Warning: dir() expects parameter 2 to be resource, object given in %s on line %d
223 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
227 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d