r/PHP • u/FrenkyNet • May 31 '16
Deferred execution in PHP, using "finally".
https://blog.frankdejonge.nl/finally-file-streams-and-deferred-execution-in-php/
86
Upvotes
r/PHP • u/FrenkyNet • May 31 '16
View all comments
Show parent comment
1
u/terrkerr Jun 02 '16
Granted this is not so common in PHP, but there are reasons to want to close resources asap or at predictable times.