Utilize SplFileObject for output
Utilize SplFileObject for output

This will not trigger a warning as file_put_contents would. Instead
it will throw when opening the file for read access fails.

zendframework/zend-di,tux-rampage/zend-di