[php-src] Issue #8120: mysqli blank error
| From: | zbestzeus | Date: | Mon, 21 Feb 2022 23:14:58 +0000 |
| Subject: | [php-src] Issue #8120: mysqli blank error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239951@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8120
Comment Author: zbestzeus
Ok, I just have to stay, have you studied the OWAPS top 10, one of the first things is to disable
all errors on production because it exposes code. Of course I have a test server with error
warnings. But when I do a major update, PHP 8.0 to PHP 8.1 for example, I run the script to parse
all the code and find any errors. Hence in the code I sent turning on all errors. In my report of
the issue, YES I read that you turn the MYSQLI reporting to off to repress it, my point in the error
post is even just using the function of turning it off, when you run it from the exec command it is
giving a blank error and it should not be happening. I will reiterate the site is fully functional
after the upgrade, you only encounter this when running it from the command line and it should NOT
be happening.