Skip to content

Commit 3977668

Browse files
committed
never add unmapped ext
1 parent b50ab03 commit 3977668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-tests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,8 +887,8 @@ function write_information(): void
887887
continue;
888888
}
889889
$ext = $matches[1];
890-
if (!in_array($ext, $exts) && !extension_loaded($ext) && @dl($file)) {
891-
$exts[] = $ext;
890+
if (!in_array($ext, $exts) && @dl($file)) {
891+
$exts = remap_loaded_extensions_names(get_loaded_extensions());
892892
}
893893
}
894894
echo implode(',', $exts);

0 commit comments

Comments
 (0)