Lines Matching refs:file_put_contents
2 Test file_put_contents() function : usage variation - obscure filenames
14 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]])
20 echo "*** Testing file_put_contents() : usage variation ***\n";
46 $res = file_put_contents($names_arr[$i], "Some data");
60 *** Testing file_put_contents() : usage variation ***
67 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
71 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
75 Warning: file_put_contents(): Filename cannot be empty in %s on line %d
81 Warning: file_put_contents() expects parameter 1 to be a valid path, string given in %s on line %d
85 Warning: file_put_contents() expects parameter 1 to be a valid path, array given in %s on line %d
91 Warning: file_put_contents(%sdir): failed to open stream: %s in %s on line %d
95 Warning: file_put_contents(%sphp): failed to open stream: %s in %s on line %d