source:
svn/trunk/tests/xcache_include_relative_cwd.phpt
@
1497
Last change on this file since 1497 was 1497, checked in by Xuefer, 4 years ago | |
---|---|
File size: 288 bytes |
Rev | Line | |
---|---|---|
[864] | 1 | --TEST-- |
2 | include relative to current working dir | |
3 | --SKIPIF-- | |
4 | <?php | |
[1000] | 5 | require("include-skipif.inc"); |
[864] | 6 | ?> |
[1497] | 7 | --INI-- |
8 | xcache.test = 1 | |
9 | xcache.size = 32M | |
[864] | 10 | --FILE-- |
11 | <?php | |
12 | chdir(__DIR__); | |
[1000] | 13 | include "./sub-a.inc"; |
14 | include "./sub-b.inc"; | |
[864] | 15 | ?> |
16 | --EXPECTF-- | |
17 | %stests | |
[1000] | 18 | %stests%ssub-a.inc |
[864] | 19 | %stests |
[1000] | 20 | %stests%ssub-b.inc |
Note: See TracBrowser
for help on using the repository browser.