[php-src] Issue #8120: mysqli blank error
| From: | zbestzeus | Date: | Mon, 21 Feb 2022 19:13:10 +0000 |
| Subject: | [php-src] Issue #8120: mysqli blank error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239941@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8120
Comment Author: zbestzeus
To simplify for you, this code by itself will give a blank error.
$string = "<?php error_reporting(E_ALL ^ E_STRICT); ini_set('display_errors', 1);
mysqli_report( MYSQLI_REPORT_OFF ); ?>";
file_put_contents(SITEPATH."/uploads/test.php", $string);
$result = exec( "php '".SITEPATH."/uploads/test.php'
2>&1");