We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b7552 commit 0b0a0e0Copy full SHA for 0b0a0e0
run-tests.php
@@ -877,8 +877,12 @@ function write_information(): void
877
$ext_dir = ini_get('extension_dir');
878
foreach (scandir($ext_dir) as $file) {
879
if (preg_match('/^(?:php_)?([_a-zA-Z0-9]+)\.(?:so|dll)$/', $file, $matches)) {
880
- $t = microtime(true);
881
- var_dump($matches[1]);
+ // remove once https://github.com/php/php-src/issues/9196 is fixed
+ // @dl() is fast (about 1 ms / dl() call)
882
+ if (extension_loaded($matches[1])) {
883
+ continue;
884
+ }
885
+
886
if (dl($matches[1])) {
887
$exts[] = $matches[1];
888
$exts[] = microtime(true) - $t;
0 commit comments