X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fglob%2Fglob002.phpt;h=4ac964a154b27af0ad0ca90e63b5d92946797dd5;hb=ad859923be758c210e2ad4226eb8e3b09bcf91eb;hp=530165af1d21b3a55cd6547bd8d8c385e4feb120;hpb=22ca720deabdb92ebedf4c9c82d758671c9d5f3d;p=m6w6%2Fext-psi diff --git a/tests/glob/glob002.phpt b/tests/glob/glob002.phpt index 530165a..4ac964a 100644 --- a/tests/glob/glob002.phpt +++ b/tests/glob/glob002.phpt @@ -5,12 +5,13 @@ psi.directory={PWD}/../../psi.d:{PWD} --SKIPIF-- --FILE-- ===TEST=== - 3]; +$glob = ["gl_offs" => 5]; var_dump(psi\glob("*.php{,t}", psi\GLOB_BRACE|psi\GLOB_DOOFFS, $glob)); var_dump($glob); ?> @@ -18,4 +19,33 @@ var_dump($glob); --EXPECTF-- ===TEST=== int(0) -===DONE=== \ No newline at end of file +array(4) { + ["gl_pathc"]=> + int(4) + ["gl_offs"]=> + int(5) + ["gl_flags"]=> + int(%d) + ["gl_pathv"]=> + array(9) { + [0]=> + string(0) "" + [1]=> + string(0) "" + [2]=> + string(0) "" + [3]=> + string(0) "" + [4]=> + string(0) "" + [5]=> + string(11) "glob002.php" + [6]=> + string(12) "glob001.phpt" + [7]=> + string(12) "glob002.phpt" + [8]=> + string(12) "glob003.phpt" + } +} +===DONE===