123456789101112131415161718192021 |
- --TEST--
- Bug #41655 (open_basedir bypass via glob()) 1/2
- --SKIPIF--
- <?php
- if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip not for Windows');
- }
- ?>
- --CREDITS--
- Dave Kelsey <d_kelsey@uk.ibm.com>
- --INI--
- open_basedir="/some_directory_we_are_hopefully_not_running_tests_from"
- --FILE--
- <?php
- $a=glob("./*.jpeg");
- var_dump($a);
- echo "Done\n";
- ?>
- --EXPECT--
- bool(false)
- Done
|