--TEST-- Test fileowner() function: usage variations - diff. path notations --CREDITS-- Dave Kelsey --FILE-- getMessage(), "\n"; } clearstatcache(); $count++; } echo "\n*** Done ***"; ?> --CLEAN-- --EXPECTF-- *** Testing fileowner() with different notations of file names *** - Iteration 1 - int(%d) - Iteration 2 - Warning: fileowner(): stat failed for %s//fileowner_variation3/fileowner_variation3.tmp/ in %s on line %d bool(false) - Iteration 3 - int(%d) - Iteration 4 - int(%d) - Iteration 5 - Warning: fileowner(): stat failed for %s//fileowner_variation3/*.tmp in %s on line %d bool(false) - Iteration 6 - Warning: fileowner(): stat failed for %s/fileowner_variation3/fileowner*.tmp in %s on line %d bool(false) - Iteration 7 - fileowner(): Argument #1 ($filename) must be a valid path, string given - Iteration 8 - fileowner(): Argument #1 ($filename) must be a valid path, string given *** Done ***