NASA’s 10 rules for developing safety-critical code

An Error Has Occurred!

fclose(): Argument #1 ($stream) must be of type resource, bool given