mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
* 'PHP-5.5' of git.php.net:php-src: added new glob() test
This commit is contained in:
commit
d0beb7daf9
19
ext/standard/tests/file/glob_variation3.phpt
Normal file
19
ext/standard/tests/file/glob_variation3.phpt
Normal file
@ -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==
|
Loading…
Reference in New Issue
Block a user