X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fglob%2Fglob002.phpt;h=4ac964a154b27af0ad0ca90e63b5d92946797dd5;hp=17bad44b70f0dc4ec68c88d93f004d1993bbe576;hb=45cba21d5001261fd5dbceeea1e7374bbee6c1b0;hpb=f18f62c084371e0da16305db4de27bfa124934c1 diff --git a/tests/glob/glob002.phpt b/tests/glob/glob002.phpt index 17bad44..4ac964a 100644 --- a/tests/glob/glob002.phpt +++ b/tests/glob/glob002.phpt @@ -11,7 +11,7 @@ PHP_OS === "Linux" or die("skip - only for Linux"); ===TEST=== 3]; +$glob = ["gl_offs" => 5]; var_dump(psi\glob("*.php{,t}", psi\GLOB_BRACE|psi\GLOB_DOOFFS, $glob)); var_dump($glob); ?> @@ -23,11 +23,11 @@ array(4) { ["gl_pathc"]=> int(4) ["gl_offs"]=> - int(3) + int(5) ["gl_flags"]=> int(%d) ["gl_pathv"]=> - array(7) { + array(9) { [0]=> string(0) "" [1]=> @@ -35,12 +35,16 @@ array(4) { [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) "glob001.phpt" + [7]=> + string(12) "glob002.phpt" + [8]=> string(12) "glob003.phpt" } }