Skip to content

Commit 4bad49e

Browse files
committed
added new glob() test
1 parent cf96aa1 commit 4bad49e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--TEST--
2+
Test glob() function: ensure no platform difference
3+
--FILE--
4+
<?php
5+
$path = dirname(__FILE__);
6+
7+
ini_set('open_basedir', NULL);
8+
var_dump(glob("$path/*.none"));
9+
10+
ini_set('open_basedir', $path);
11+
var_dump(glob("$path/*.none"));
12+
13+
?>
14+
==DONE==
15+
--EXPECT--
16+
array(0) {
17+
}
18+
bool(false)
19+
==DONE==

0 commit comments

Comments
 (0)