Can someone explain this to me:
; Default Value: On
; Development Value: Off
; Production Value: Off

When exactly is it "On" then?

Follow

@andrioid "Default" is the value if you don't explicitly set it in your php.ini file. "Development" and "Production" are the values the PHP team recommends for those environments. See also github.com/php/php-src/blob/f2

@ellotheth Thanks for the clarification. IMO, it's still weird to have defaults that you don't recommend. Not in prod or dev 😀

@andrioid Yeah, maintaining backwards compatibility is hard! You want to promote good practices with defaults, but you also don't want to break code that's been running fine for a decade.

@ellotheth Every programmer knows that old decisions hurt the most 😆

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface and Brian! as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!