Hacker News new | ask | show | jobs
by afiori 1253 days ago
The one feature on PHP that I wish was more commonplace is the `use` keyword in function expressions as it is one of the few ways to limit what names are in scope at a given point in the code

IIRC Rust's `mod` declarations can behave similarly.