tests: blacklist sqlite3_str and sqlite3_win32 functions
[m6w6/ext-psi] / tests / glob / glob002.phpt
1 --TEST--
2 glob
3 --INI--
4 psi.directory={PWD}/../../psi.d:{PWD}
5 --SKIPIF--
6 <?php
7 extension_loaded("psi") or die("skip - need ext/psi");
8 PHP_OS === "Linux" or die("skip - only for Linux");
9 ?>
10 --FILE--
11 ===TEST===
12 <?php
13 chdir(__DIR__);
14 $glob = ["gl_offs" => 5];
15 var_dump(psi\glob("*002.php*", psi\GLOB_DOOFFS, $glob));
16 var_dump($glob);
17 ?>
18 ===DONE===
19 --EXPECTF--
20 ===TEST===
21 int(0)
22 array(4) {
23 ["gl_pathc"]=>
24 int(2)
25 ["gl_offs"]=>
26 int(5)
27 ["gl_flags"]=>
28 int(%d)
29 ["gl_pathv"]=>
30 array(7) {
31 [0]=>
32 string(0) ""
33 [1]=>
34 string(0) ""
35 [2]=>
36 string(0) ""
37 [3]=>
38 string(0) ""
39 [4]=>
40 string(0) ""
41 [5]=>
42 string(11) "glob002.php"
43 [6]=>
44 string(12) "glob002.phpt"
45 }
46 }
47 ===DONE===