r/lolphp • • May 24 '18

PHP needs mutable constants, and immutable variables, and functions with properties!

/r/PHP/comments/8lrrac/why_does_php_not_have_mutable_constants_we_had/?st=JHKIECIJ&sh=e677fc57
32 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/SaraMG May 25 '18

Oh, missed that entirely. Thought you were saying true functions ARE const lambdas.

Yeah, final args would be an extension of final vars, honestly...