What's the difference between weighted average accounting and FIFO accounting

An Error Has Occurred!

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