Hello internals,
Tim and I would like to open the discussion on our new RFC that we've been
working on: "use construct (Block Scoping)".
We wanted to raise a few initial points:
-
The RFC proposes the use keyword. What are your thoughts on a new `
using` keyword instead, similar to C# or Hack?
-
How do you feel about the questions raised in the "Open Issues" section?
-
What are your general thoughts on the RFC?
Please find the following resources for your reference:
-
RFC: https://wiki.php.net/rfc/optin_block_scoping
-
POC:
https://github.com/php/php-src/compare/master...TimWolla:php-src:block-scope
Thanks,
Seifeddine Gmati.