Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function Safe\hash_file #410

Open
Jamesking56 opened this issue Feb 25, 2023 · 1 comment
Open

Add function Safe\hash_file #410

Jamesking56 opened this issue Feb 25, 2023 · 1 comment

Comments

@Jamesking56
Copy link

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.

@frederic100
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants