[php-src] Issue #8604: PHP extends mysqli query function
| From: | Csaba27 | Date: | Sun, 22 May 2022 14:53:25 +0000 |
| Subject: | [php-src] Issue #8604: PHP extends mysqli query function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241573@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8604
Author: Csaba27
### Description
Deprecated: Return type of mysqliClass::query(string $query, int $result_mode = MYSQLI_STORE_RESULT)
should either be compatible with mysqli::query(string $query, int $result_mode =
MYSQLI_STORE_RESULT): mysqli_result|bool, or the #[\ReturnTypeWillChange] attribute should be used
to temporarily suppress the notice in
public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT)
why do i get this error?
### PHP Version
PHP 8.1
### Operating System
Ubuntu 20.04