1--TEST--
2Test open_basedir configuration
3--INI--
4open_basedir=.
5--FILE--
6<?php
7require_once "open_basedir.inc";
8test_open_basedir("glob");
9?>
10--CLEAN--
11<?php
12require_once "open_basedir.inc";
13delete_directories();
14?>
15--EXPECTF--
16*** Testing open_basedir configuration [glob] ***
17bool(true)
18bool(true)
19bool(true)
20bool(true)
21bool(true)
22bool(false)
23bool(false)
24bool(false)
25bool(false)
26bool(false)
27bool(false)
28bool(false)
29bool(false)
30bool(false)
31array(1) {
32  [0]=>
33  string(5) "../ok"
34}
35array(1) {
36  [0]=>
37  string(6) "ok.txt"
38}
39array(1) {
40  [0]=>
41  string(12) "../ok/ok.txt"
42}
43array(1) {
44  [0]=>
45  string(%d) "%s/test/ok/ok.txt"
46}
47array(1) {
48  [0]=>
49  string(%d) "%s/test/ok/../ok/ok.txt"
50}
51*** Finished testing open_basedir configuration [glob] ***
52
53