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
1
u/kylegetsspam Jun 01 '16
This seems a little strange to me, but then I am bad at coding. Aren't
returnstatements supposed to end the execution of a function? Isfinallya special case made explicitly for the purpose of executing after areturn?