Lines Matching refs:file_put_contents
2 Test file_put_contents() function : usage variation - obscure filenames
12 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
18 echo "*** Testing file_put_contents() : usage variation ***\n";
40 $res = file_put_contents($names_arr[$i], "Some data");
53 *** Testing file_put_contents() : usage variation ***
60 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
64 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
68 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
74 Warning: file_put_contents() expects parameter 1 to be a valid path, string given in %s on line %d
78 Warning: file_put_contents() expects parameter 1 to be a valid path, array given in %s on line %d
84 Warning: file_put_contents(%sdir): failed to open stream: %s in %s on line %d
88 Warning: file_put_contents(%sphp): failed to open stream: %s in %s on line %d