What "quirks" does \SplFileObject have? (stackoverflow.com)stack
30 points by chx in stackoverflow.com · 44m ago · stack comments
https://stackoverflow.com/a/40638544/308851 says if you want to type hint resources, I suggest using an \SplFileObject : This is not the best thing in the world, as \SplFileObject has a few quirks What, exactly are those quirks? In other words, how does \SplFileObject differ fro…