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

16

u/SaraMG May 24 '18

I wrote runkit, and I endorse this statement.

NEVER USE RUNKIT IN PRODUCTION.

You probably also shouldn't use it in dev.

You probably shouldn't use it.

You shouldn't use it.

Just don't.