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--EXPECT--
19array(0) {
20}
21array(0) {
22}
23array(0) {
24}
25array(0) {
26}
27array(0) {
28}
29array(0) {
30}
31bool(true)
32