1--TEST--
2Test glob() function: ensure no platform difference
3--FILE--
4<?php
5$path = __DIR__;
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
16var_dump(empty(ini_get('open_basedir')));
17?>
18==DONE==
19--EXPECT--
20array(0) {
21}
22array(0) {
23}
24array(0) {
25}
26array(0) {
27}
28array(0) {
29}
30array(0) {
31}
32bool(true)
33==DONE==
34