PHP - get file size

    
        $file = 'my_file.txt';
        echo $file . ': ' . filesize($file) . ' bytes';
        //output
        //my_file.txt : 10 bytes