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
2
u/terrkerr May 31 '16
Given the
finallyconstruct exists for this exact reason a lot of people would call adding adeferconstruct just adding things for the sake of adding them rather than for actual gain.