Open Jamesking56 opened 1 year ago
hash_file can return string or false. It would be nice if we had a safer version of this function which would throw an exception if it returned false.
string
false
Perhaps you could try to use https://github.com/phariscope/SafePHP until the official Safe PHP take a decision. I have just added this function.
hash_file can return
string
orfalse
. It would be nice if we had a safer version of this function which would throw an exception if it returnedfalse
.