PHP 8 compatibility
[m6w6/ext-psi] / tests / glob / glob002.phpt
index 36edb4de4f4af17ce5d798951aa9a7f268301f29..5c575e16c17d7a875b4fbf84b2e928dd2ba919e6 100644 (file)
@@ -4,7 +4,6 @@ glob
 psi.directory={PWD}/../../psi.d:{PWD}
 --SKIPIF--
 <?php
-extension_loaded("psi") or die("skip - need ext/psi");
 PHP_OS === "Linux" or die("skip - only for Linux");
 ?>
 --FILE--
@@ -12,7 +11,7 @@ PHP_OS === "Linux" or die("skip - only for Linux");
 <?php
 chdir(__DIR__);
 $glob = ["gl_offs" => 5];
-var_dump(psi\glob("*002.php{,t}", psi\GLOB_BRACE|psi\GLOB_DOOFFS, $glob));
+var_dump(psi\glob("*002.php*", psi\GLOB_DOOFFS, $glob));
 var_dump($glob);
 ?>
 ===DONE===