Home
Phabricator
Search
Configure Global Search
Log In
Transactions
T7416
Change Details
Change Details
Old
New
Diff
In PHP, constants can be defined either with `const` or `define()`. I think that `const` should be used whenever possible (i.e. where the constant value is not an expression), otherwise `define()` should be used.
In PHP, constants can be defined either with `const` or `define()`. I think that `const` should be used whenever possible (i.e. where the constant value is not an expression), otherwise `define()` should be used.
Continue