1--TEST--
2Test function get_cfg_var() by substituting argument with array of valid parameters.
3--CREDITS--
4Francesco Fullone ff@ideato.it
5#PHPTestFest Cesena Italia on 2009-06-20
6--INI--
7session.use_cookies=0
8session.serialize_handler=php
9session.save_handler=files
10--FILE--
11<?php
12
13
14echo "*** Test substituting argument with array of valid parameters ***\n";
15
16
17
18$heredoc = <<<EOT
19hello world
20EOT;
21
22$variation_array = array(
23  'session.use_cookies',
24  'session.serialize_handler',
25  'session.save_handler'
26  );
27
28
29foreach ( $variation_array as $var ) {
30  var_dump(get_cfg_var( $var  ) );
31}
32?>
33--EXPECTF--
34*** Test substituting argument with array of valid parameters ***
35string(1) "0"
36string(3) "php"
37string(5) "files"
38