2 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]])
3 * Description: Read the entire file into a string
4 * Source code: ext/standard/file.c
8 echo "*** Testing file_get_contents() : variation ***\n";
10 /* An array of filenames */
22 /* prefix with path separator of a non existing directory*/
23 "/no/such/file/dir" => "/no/such/file/dir",
28 foreach($names_arr as $key =>$value) {
29 echo "\n-- Filename: $key --\n";
30 var_dump(file_get_contents($value));