3 ms·
display_errors can be convenient on non-production sites. I think a lot of beginners are trying to hack stuff on shared hosting, and transfer their php files i
by munger 14y ago
display_errors can be convenient on non-production sites. I think a lot of beginners are trying to hack stuff on shared hosting, and transfer their php files in via FTP and don't understand how to access logs and do appreciate this feature.
It's just too bad they are hacking on their live site, and/or not ever turning it off after they don't need it.
Don't get me wrong, FTP/live editing a site on production / shared hosting are all crappy ways of doing things for serious development but I can see how it might be useful for beginners.
We've all been there, yeah? even if it was back when php 3 and 4 were common.