]> granicus.if.org Git - php/blob
bb7ccf542b
[php] /
1 --TEST--
2 Test get_include_path() function
3 --INI--
4 include_path=.
5 --FILE--
6 <?php
7 /* Prototype: string get_include_path  ( void  )
8  * Description: Gets the current include_path configuration option
9
10 */
11
12 echo "*** Testing get_include_path()\n";
13
14 var_dump(get_include_path());
15
16 if (ini_get("include_path") == get_include_path()) {
17     echo "PASSED\n";
18 } else {
19     echo "FAILED\n";
20 }
21
22 ?>
23 --EXPECTF--
24 *** Testing get_include_path()
25 string(1) "."
26 PASSED