By Trevor Eaton Cordes
License: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

With PHP8 the php devs voted to make many normal scripting programming practices
into warnings instead of notices.  This meant using display_errors=on on a dev box
would be unusable, and pushing errors to a logfile would result in massive and
useless logfiles.  On an existing multi-hundred-thousand-line project it would be
impossible to "fix" what PHP8 devs now wanted to call "bad" (what client wants to
pay for this?).

See:
http://muug.ca/pipermail/roundtable/2022-January/005946.html



tail -f /var/log/php-fpm/www-error.log

one simple page hit in one of my web programs equals 116 "errors":

Sep 13 17:43:50 zzz php: PHP Warning:  Undefined array key "INC_ZZZ" in /var/www/Tec/TecZzz/Inc/zzzsys.inc on line 8
Sep 13 17:43:50 zzz php: PHP Warning:  Undefined variable $TECZZZ_CMDLINERUN in /var/www/Tec/TecZzz/Inc/zzzsys.inc on line 3468
Sep 13 17:43:50 zzz php: PHP Warning:  Undefined variable $TECZZZ_SITEOVERRIDE in /var/www/Tec/TecZzz/Inc/zzzsys.inc on line 3478
Sep 13 17:43:50 zzz php: PHP Warning:  Undefined array key "ZZZ_SITE" in /var/www/Tec/Apps/Zzz/Inc/zzz.cnf on line 2
...
