1--TEST--
2Test glob() function: ensure no platform difference, variation 3
3--SKIPIF--
4<?php if( substr(PHP_OS, 0, 3) == "WIN" ) {die('skip not valid on Windows');} ?>
5--FILE--
6<?php
7$path = dirname(__FILE__);
8
9ini_set('open_basedir', '/tmp');
10
11var_dump(glob("$path/*.none"));
12var_dump(glob("$path/?.none"));
13var_dump(glob("$path/*{hello,world}.none"));
14var_dump(glob("$path/*/nothere"));
15var_dump(glob("$path/[aoeu]*.none"));
16var_dump(glob("$path/directly_not_exists"));
17
18var_dump('/tmp' == ini_get('open_basedir'));
19?>
20==DONE==
21--EXPECT--
22bool(false)
23bool(false)
24bool(false)
25bool(false)
26bool(false)
27bool(false)
28bool(true)
29==DONE==
30