method getHash documentation in bbn\File

Return the hash of the file.

Example

$file = new File('C:/Test/file.txt'); X::dump($file->getHash()); // (string) '9a3182g36a83adtd9c9c2l59ap2a719c' function() { if ( $this->file ){ return md5_file($this->file); } return ''; }

Return the hash of the file. 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.