Identical to calling fopen(), fwrite(), and fclose() successively.
flags can take FILE_USE_INCLUDE_PATH and/or FILE_APPEND, however the FILE_USE_INCLUDE_PATH option should be used with caution.
注意この関数はバイナリデータに対応しています。
ティップfopen wrappersが有効になっていると、この関数のファイル名として URLを使用することが出来ます。ファイル名の指定方法に関する詳細は fopen()、サポートされるURLプロトコルの種類 については、(例えば)付録Iを参照して下さい。
See also: fopen(), fwrite(), fclose(), and file_get_contents().