I have a question regarding php and opening files
PHP has more than one function to open files:
file_get_contents()
fopen()
file()
My question is related to performance. On my server I have to open files, then check the contents, do some modifications if I need to, and resave them.
I want to make these changes as fast as possible
which one is better to open file (both small and large) performance wise? Meaning; why use one in preferance to the others?