Hacker News new | ask | show | jobs
by girvo 314 days ago
> so they are more memory efficient

They can be. It depends on the language, interpreter, compiler, and whether you do anything with those intermediate variables and the optimiser can get rid of them.

1 comments

I thought we are talking about PHP8.5:)
Ah, I thought we were talking more generally about PL constructs that let you avoid intermediate variables, apologies :)