Hi guys,
English is not my native language and I could use some advice of someone who's native language is English.
When I want to save something to a file, then how do I call this "something" I want to save? For example, this "something" could be configuration settings, but also a HTML page or a news article. Actually it could be anything.
I have this function:
As you can see I call this "something" I mentioned before "data", but I was having a discussion with someone else (also not a native English speaker) who said "data" means raw data, like parameters, settings and numbers. The kind of information one would store in a database. So if I would try to save for example a news article, the word "data" would be incorrect. According to this person "contents" would be a better option. However, to me it sounds strange to save "contents". I understand that one could retrieve the contents of a file, but saving contents to a file sounds awkward to me.
I was hoping someone who's native language is English could give me some advice. Is "data" correct, or should it be "contents"? Or is there maybe an alternative? Any help is highly appreciated. Thanks in advance!
English is not my native language and I could use some advice of someone who's native language is English.
When I want to save something to a file, then how do I call this "something" I want to save? For example, this "something" could be configuration settings, but also a HTML page or a news article. Actually it could be anything.
I have this function:
PHP:
public function save($data, $file) {
}
I was hoping someone who's native language is English could give me some advice. Is "data" correct, or should it be "contents"? Or is there maybe an alternative? Any help is highly appreciated. Thanks in advance!