Tag Archives: file_get_contents

file_get_contents vs fread

Share The main difference between a complete file read using fread and file_get_contents is that file_get_contents may use mmap (if your OS supports it) to use file memory mapping, which can eliminate a little of the copying and/or allocation of … Continue reading

Posted in php | Tagged , , , | Leave a comment