1--TEST--
2Bug #41655 (open_basedir bypass via glob()) 1/2
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) == 'WIN') {
6    die('skip not for Windows');
7}
8?>
9--CREDITS--
10Dave Kelsey <d_kelsey@uk.ibm.com>
11--INI--
12open_basedir="/some_directory_we_are_hopefully_not_running_tests_from"
13--FILE--
14<?php
15$a=glob("./*.jpeg");
16var_dump($a);
17echo "Done\n";
18?>
19--EXPECT--
20bool(false)
21Done
22