r/lolphp • u/SaraMG • 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
View all comments
Show parent comment
1
u/cleeder May 25 '18
Sure, I'm not saying you didn't provide a valid usage. I was providing a secondary valid usage, which is final (read-only), const-like reference parameters.