PHP might be getting a "using" block. 👀
It would automatically handle resource cleanup, even when exceptions occur.
There's a new RFC targeting PHP 8.7.
And developers are already debating "=>" vs "as". 😂
Commit
84b755c
haven't we learned lesson from python? Managers are clunky and not transparent :(... Feels like they want defer but worse version of it.
commit 84b755c