How to keep your interest while learning a new tool or technology?

An Error Has Occurred!

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