clearstatcache
PHP filesize on Linux is statcached and require to use clearstatcache in order to clear the cached filesize

Title PHP filesize reporting old size
Description The following code is part of a PHP web-service Ive written. It takes some uploaded Base64 data, decodes it, and appends it to a file. This all works fine. The problem is that when I read the f...
Tags PHP filesize reporting old size