php7-mysql-shim
php7-mysql-shim copied to clipboard
Dynamic property $hash deprecated
Dynamic properties were deprecated since PHP8.2 and will be removed in 9.0. We still rely on this library for some of our legacy code.
Error:
PHP Deprecated: Creation of dynamic property mysqli::$hash is deprecated in /var/www/vhosts/scripts/mysql.php on line 90
Cause: https://github.com/dshafik/php7-mysql-shim/blob/master/lib/mysql.php#L90
Is there some other way to store the hash instead of attaching it directly to the connection?