projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
glob
/
glob001.phpt
1
--TEST--
2
glob
3
--INI--
4
psi.directory={PWD}/../../psi.d:{PWD}
5
--FILE--
6
===TEST===
7
<?php
8
chdir(__DIR__);
9
$cmp = glob(__DIR__."/*.php{,t}", GLOB_BRACE);
10
var_dump(psi\glob(__DIR__."/*.php{,t}", psi\GLOB_BRACE, $glob));
11
if ($cmp != $glob["gl_pathv"]) {
12
var_dump($cmp, $glob["gl_pathv"]);
13
}
14
?>
15
===DONE===
16
--EXPECTF--
17
===TEST===
18
int(0)
19
===DONE===