method getSize documentation in bbn\File

Return the filesize in byte.

Example

$file = new bbn\File('C:/Test/file.txt'); X::dump($file->getSize()); // (int) 314 function() { if ($this->file && is_null($this->size)) { $this->size = $this->fs->filesize($this->file); } return $this->size; }

Return the filesize in byte. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.