Is there anyway I can check when file_get_contents has finished loading the file, so I can load another file, will it automatically finish loading the one file before going onto the next one?
Is there anyway I can check when file_get_contents has finished loading the file, so
Share
Loading a file with
file_get_contents()will block operation of your script until PHP is finished reading it in completely. It must, because you couldn’t assign the$content =otherwise.