php7-mysql-shim icon indicating copy to clipboard operation
php7-mysql-shim copied to clipboard

A shim for ext/mysql in PHP 7+

Results 9 php7-mysql-shim issues
Sort by recently updated
recently updated
newest added

Hello, Maybe I misunderstood something in the code but it seems the shim is managing a connection pool for non-persistent connections. For persistent connections, it relays on the mysqli extension....

I know, I know, adding support for PHP 8 to a project that was intended to only be used when moving from PHP 5 to PHP 7 is terrible. But,...

Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 2.18.0 to 3.15.0. Release notes Sourced from friendsofphp/php-cs-fixer's releases. v3.15.0 BoY42 bug: VisibilityRequiredFixer - handle DNF types (#6806) DX: officially enable 8.2 support (#6825) v3.14.5 Oliva bug:...

dependencies

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.8 to 3.7.2. Release notes Sourced from squizlabs/php_codesniffer's releases. 3.7.2 Newer versions of Composer will now suggest installing PHPCS using require-dev instead of require Thanks to Gary...

dependencies

Bumps [yoast/phpunit-polyfills](https://github.com/Yoast/PHPUnit-Polyfills) from 1.0.1 to 1.0.4. Release notes Sourced from yoast/phpunit-polyfills's releases. 1.0.4 This is a maintenance release. Changed The Yoast\PHPUnitPolyfills\Autoload class is now final. PR #77. README: clear up...

dependencies

Fixed error *"stdClass does not have a constructor hence you cannot use ctor_params"* (tested in PHP 7.0.33) when explicitly passing `"stdClass"` instead of `null` to `mysql_fetch_object()`.

Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /opt/cpanel/ea-php73/vendor/dshafik/php7-mysql-shim/lib/mysql.php on line 551

Error Line: if ($hostname{1} != ':' && isset(\Dshafik\MySQL::$connections[$hash])) { Fix: if ($hostname[1] != ':' && isset(\Dshafik\MySQL::$connections[$hash])) {

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...