Lines Matching refs:lstat
2 Test lstat() and stat() functions: error conditions
6 die('skip.. lstat() not available on Windows');
11 /* Prototype: array lstat ( string $filename );
18 echo "*** Testing lstat() for error conditions ***\n";
20 var_dump( lstat() ); // args < expected
21 var_dump( lstat(__FILE__, 2) ); // args > expected
22 var_dump( lstat("$file_path/temp.tmp") ); // non existing file
23 var_dump( lstat(22) ); // scalar argument
25 var_dump( lstat($arr) ); // array argument
40 *** Testing lstat() for error conditions ***
42 Warning: lstat() expects exactly 1 parameter, 0 given in %s on line %d
45 Warning: lstat() expects exactly 1 parameter, 2 given in %s on line %d
48 Warning: lstat(): Lstat failed for %s in %s on line %d
51 Warning: lstat(): Lstat failed for 22 in %s on line %d
54 Warning: lstat() expects parameter 1 to be string, array given in %s on line %d