source:
branches/version-2_13-dev/data/module/Compat/tests/function/set_include_path.phpt
@
20119
| Revision 20119, 281 bytes checked in by nanasess, 15 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | --TEST-- |
| 2 | Function -- set_include_path |
| 3 | --SKIPIF-- |
| 4 | <?php if (function_exists('set_include_path')) { echo 'skip'; } ?> |
| 5 | --FILE-- |
| 6 | <?php |
| 7 | require_once 'PHP/Compat.php'; |
| 8 | PHP_Compat::loadFunction('set_include_path'); |
| 9 | |
| 10 | set_include_path('foo'); |
| 11 | echo ini_get('include_path'); |
| 12 | ?> |
| 13 | --EXPECT-- |
| 14 | foo |
Note: See TracBrowser
for help on using the repository browser.
