===TEST===
<?php
chdir(__DIR__);
-$glob = ["gl_offs" => 3];
-var_dump(psi\glob("*.php{,t}", psi\GLOB_BRACE|psi\GLOB_DOOFFS, $glob));
+$glob = ["gl_offs" => 5];
+var_dump(psi\glob("*002.php*", psi\GLOB_DOOFFS, $glob));
var_dump($glob);
?>
===DONE===
int(0)
array(4) {
["gl_pathc"]=>
- int(4)
+ int(2)
["gl_offs"]=>
- int(3)
+ int(5)
["gl_flags"]=>
int(%d)
["gl_pathv"]=>
[2]=>
string(0) ""
[3]=>
- string(11) "glob002.php"
+ string(0) ""
[4]=>
- string(12) "glob001.phpt"
+ string(0) ""
[5]=>
- string(12) "glob002.phpt"
+ string(11) "glob002.php"
[6]=>
- string(12) "glob003.phpt"
+ string(12) "glob002.phpt"
}
}
===DONE===