Hacker News new | ask | show | jobs
by teruakohatu 1513 days ago
But why remove it in the first place. Is it such a burden on the parser or mental overhead for developers?
2 comments

Because this syntax is used for variable variables as well as interpolation.

By removing the interpolation, it makes the remaining code more predictable and less likely to have a footgun.

> clears the ground for adding any-expression interpolation, which PHP is currently missing