source:
trunk/tests/xcache_include_relative_cwd.phpt
@
1000
| Last change on this file since 1000 was 1000, checked in by moo, 11 months ago | |
|---|---|
| File size: 246 bytes | |
| Line | |
|---|---|
| 1 | --TEST-- |
| 2 | include relative to current working dir |
| 3 | --SKIPIF-- |
| 4 | <?php |
| 5 | require("include-skipif.inc"); |
| 6 | ?> |
| 7 | --FILE-- |
| 8 | <?php |
| 9 | chdir(__DIR__); |
| 10 | include "./sub-a.inc"; |
| 11 | include "./sub-b.inc"; |
| 12 | ?> |
| 13 | --EXPECTF-- |
| 14 | %stests |
| 15 | %stests%ssub-a.inc |
| 16 | %stests |
| 17 | %stests%ssub-b.inc |
Note: See TracBrowser
for help on using the repository browser.

