![]() ![]() | ![]() |
1.1 misho 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==