Skip to content

Commit 7f85bf6

Browse files
committed
mysqli fixed in GH-9557
1 parent ce48880 commit 7f85bf6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

run-tests.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -877,13 +877,7 @@ function write_information(): void
877877
$ext_dir = ini_get('extension_dir');
878878
foreach (scandir($ext_dir) as $file) {
879879
if (preg_match('/^(?:php_)?([_a-zA-Z0-9]+)\.(?:so|dll)$/', $file, $matches)) {
880-
// workaround dl('mysqli') fatal error
881-
// remove once https://github.com/php/php-src/issues/9196 is fixed
882-
if ($matches[1] === 'mysqli') {
883-
continue;
884-
}
885-
886-
if (@dl($matches[1])) {
880+
if (!extension_loaded($matches[1]) && @dl($matches[1])) {
887881
$exts[] = $matches[1];
888882
}
889883
}

0 commit comments

Comments
 (0)