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.
Nota: Esta función es segura bináriamente.
Sugerencia: Puede usar una URL como nombre de archivo con esta función si los "fopen wrappers" han sido activados. Consulte fopen() para más detalles.
See also: fopen(), fwrite(), fclose(), and file_get_contents().