1--TEST--
2Test open_basedir configuration for glob
3--INI--
4open_basedir=.
5--FILE--
6<?php
7$dir = "globtest1";
8$dir2 = "globtest2";
9mkdir($dir);
10mkdir($dir2);
11chdir($dir);
12var_dump(glob("../globtest*"));
13?>
14--CLEAN--
15<?php
16$dir = "globtest1";
17$dir2 = "globtest2";
18rmdir($dir);
19rmdir($dir2);
20?>
21--EXPECT--
22array(1) {
23  [0]=>
24  string(12) "../globtest1"
25}
26