Note: Because PHP's integer type is signed and many platforms use 32bit integers, filesize() may return unexpected results for files which are larger than 2GB. For files between 2GB and 4GB in size this can usually be overcome by using sprintf("%u", filesize($file)).
datti una letta ai vari commenti che ce ne sono parecchi che ne parlano
no. Il problema è più complesso (sto leggendo i commenti e provando a fare qualcosa di implementato). Il punto è che non mi interessa elencare 8374947329473298743297 bytes, bensì poter fare "xyz kb/mb/..."