1--TEST--
2Test glob() function: ensure no platform difference
3--FILE--
4<?php
5$path = dirname(__FILE__);
6
7ini_set('open_basedir', NULL);
8
9var_dump(glob("$path/*.none"));
10var_dump(glob("$path/?.none"));
11var_dump(glob("$path/*{hello,world}.none"));
12var_dump(glob("$path/*/nothere"));
13var_dump(glob("$path/[aoeu]*.none"));
14var_dump(glob("$path/directly_not_exists"));
15
16$b = ini_get('open_basedir');
17var_dump(empty($b));
18?>
19==DONE==
20--EXPECT--
21array(0) {
22}
23array(0) {
24}
25array(0) {
26}
27array(0) {
28}
29array(0) {
30}
31array(0) {
32}
33bool(true)
34==DONE==
35