projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix build <C99
[m6w6/ext-psi]
/
tests
/
glob
/
glob002.phpt
diff --git
a/tests/glob/glob002.phpt
b/tests/glob/glob002.phpt
index 4ac964a154b27af0ad0ca90e63b5d92946797dd5..704386fdee621cda979275cda00a8d4e975e467f 100644
(file)
--- a/
tests/glob/glob002.phpt
+++ b/
tests/glob/glob002.phpt
@@
-12,7
+12,7
@@
PHP_OS === "Linux" or die("skip - only for Linux");
<?php
chdir(__DIR__);
$glob = ["gl_offs" => 5];
<?php
chdir(__DIR__);
$glob = ["gl_offs" => 5];
-var_dump(psi\glob("*
.php{,t}", psi\GLOB_BRACE|
psi\GLOB_DOOFFS, $glob));
+var_dump(psi\glob("*
002.php*",
psi\GLOB_DOOFFS, $glob));
var_dump($glob);
?>
===DONE===
var_dump($glob);
?>
===DONE===
@@
-21,13
+21,13
@@
var_dump($glob);
int(0)
array(4) {
["gl_pathc"]=>
int(0)
array(4) {
["gl_pathc"]=>
- int(
4
)
+ int(
2
)
["gl_offs"]=>
int(5)
["gl_flags"]=>
int(%d)
["gl_pathv"]=>
["gl_offs"]=>
int(5)
["gl_flags"]=>
int(%d)
["gl_pathv"]=>
- array(
9
) {
+ array(
7
) {
[0]=>
string(0) ""
[1]=>
[0]=>
string(0) ""
[1]=>
@@
-41,11
+41,7
@@
array(4) {
[5]=>
string(11) "glob002.php"
[6]=>
[5]=>
string(11) "glob002.php"
[6]=>
- string(12) "glob001.phpt"
- [7]=>
string(12) "glob002.phpt"
string(12) "glob002.phpt"
- [8]=>
- string(12) "glob003.phpt"
}
}
===DONE===
}
}
===DONE===