1 <?php
<<__EntryPoint
>> function main() {
2 $path = dirname(__FILE__
);
4 ini_set('open_basedir', NULL);
6 var_dump(glob("$path/*.none"));
7 var_dump(glob("$path/?.none"));
8 var_dump(glob("$path/*{hello,world}.none"));
9 var_dump(glob("$path/*/nothere"));
10 var_dump(glob("$path/[aoeu]*.none"));
11 var_dump(glob("$path/directly_not_exists"));
13 var_dump(!(ini_get('open_basedir') ??
false));