mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
Merge branch 'PHP-5.5'
* PHP-5.5: added new glob() test
This commit is contained in:
commit
6c570ad322
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