Hi

Am 2025-11-04 06:16, schrieb Nick:
I think the three existing meanings of `use` are enough. A new keyword would be better.
But, if a new keyword, why not `scoped`?

Thank for the keyword suggestion. Personally I could also imagine `let()`, possibly combined with an `in`:

    let ($x = 10, $y) in {
        var_dump($x); // int(10)
        var_dump($y); // NULL
        $z = 20;
    }

Best regards
Tim Düsterhus

Reply via email to