Annotation of embedaddon/php/ext/standard/tests/general_functions/get_cfg_var_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test function get_cfg_var() by calling it with its expected arguments
3: --CREDITS--
4: Francesco Fullone ff@ideato.it
5: #PHPTestFest Cesena Italia on 2009-06-20
6: --INI--
7: session.use_cookies=0
8: session.serialize_handler=php
9: session.save_handler=files
10: --FILE--
11: <?php
12:
13:
14: echo "*** Test by calling method or function with its expected arguments ***\n";
15: var_dump(get_cfg_var( 'session.use_cookies' ) );
16: var_dump(get_cfg_var( 'session.serialize_handler' ) );
17: var_dump(get_cfg_var( 'session.save_handler' ) );
18:
19: ?>
20: --EXPECTF--
21: *** Test by calling method or function with its expected arguments ***
22: string(1) "0"
23: string(3) "php"
24: string(5) "files"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>