I’ve run into enough cases where I want to get the exact equivalent of PHP’s
One snippet I found on the internet, here, had imperfections, and appeared
to be slow. This was probably due to the fact that it did not actually
follow the implementation PHP used. So, I created this.
TODO: Brief introduction on what you do with files - including link to relevant help section.