php - Why should substr be used to intercept the content obtained through file_get_contents?
我想大声告诉你
我想大声告诉你 2017-05-31 10:34:28
0
1
880

A problem recorded before, the complete code cannot be found.... It is not clear now why $iTime needs to be obtained by intercepting the file content, please take a look, thank you.

我想大声告诉你
我想大声告诉你

reply all(1)
大家讲道理

This must be written for specific situations.
My guess is that it is a file cache of data. The first 11 digits store the expired timestamp, and the next 11 digits store the data content. By getting the first 11 digits to get the timestamp, we can determine whether the cache has expired, and then process it.
It is used in specific situations and is not universal, but it is still a way to cache files.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!