diff options
author | Anatol Belski <ab@php.net> | 2013-08-19 11:17:13 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-08-19 11:17:13 +0200 |
commit | 4bad49e3bcb8851b6bdf7ce8e8405a12d0eec6d0 (patch) | |
tree | 68b7d426a70a12539c3572a7ccf71ad1e6d68381 /ext/standard | |
parent | cf96aa155ec5e9fbee7af339ca7d4dd98c2086a4 (diff) | |
download | php-git-4bad49e3bcb8851b6bdf7ce8e8405a12d0eec6d0.tar.gz |
added new glob() test
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/tests/file/glob_variation3.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/standard/tests/file/glob_variation3.phpt b/ext/standard/tests/file/glob_variation3.phpt new file mode 100644 index 0000000000..9e1e28baf9 --- /dev/null +++ b/ext/standard/tests/file/glob_variation3.phpt @@ -0,0 +1,19 @@ +--TEST-- +Test glob() function: ensure no platform difference +--FILE-- +<?php +$path = dirname(__FILE__); + +ini_set('open_basedir', NULL); +var_dump(glob("$path/*.none")); + +ini_set('open_basedir', $path); +var_dump(glob("$path/*.none")); + +?> +==DONE== +--EXPECT-- +array(0) { +} +bool(false) +==DONE== |