1--TEST--
2openbase_dir runtime tightning
3--SKIPIF--
4<?php
5if(PHP_OS_FAMILY === "Windows") {
6	die('skip.. only for unix');
7}
8if (!is_dir("/usr/local/bin")) {
9	die('skip.. no /usr/local/bin on this machine');
10}
11--INI--
12open_basedir=/usr/local
13--FILE--
14<?php
15var_dump(ini_set("open_basedir", "/usr/local/bin"));
16var_dump(ini_get("open_basedir"));
17var_dump(ini_set("open_basedir", "/usr"));
18var_dump(ini_get("open_basedir"));
19?>
20--EXPECT--
21string(10) "/usr/local"
22string(14) "/usr/local/bin"
23bool(false)
24string(14) "/usr/local/bin"
25