1--TEST--
2Test get_include_path() function
3--INI--
4include_path=.
5--FILE--
6<?php
7/* Prototype: string get_include_path  ( void  )
8 * Description: Gets the current include_path configuration option
9
10*/
11
12echo "*** Testing get_include_path()\n";
13
14var_dump(get_include_path());
15
16if (ini_get("include_path") == get_include_path()) {
17	echo "PASSED\n";
18} else {
19	echo "FAILED\n";
20}
21
22echo "\nError cases:\n";
23var_dump(get_include_path(TRUE));
24
25
26?>
27===DONE===
28--EXPECTF--
29*** Testing get_include_path()
30string(1) "."
31PASSED
32
33Error cases:
34
35Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d
36NULL
37===DONE===
38