1--TEST--
2Test function get_cfg_var() by substituting argument 1 with string values.
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 1 with unknown string values ***\n";
15
16
17
18$heredoc = <<<EOT
19hello world
20EOT;
21
22$variation_array = array(
23  'string DQ' => "string",
24  'string SQ' => 'string',
25  'mixed case string' => "sTrInG",
26  'heredoc' => $heredoc
27  );
28
29
30foreach ( $variation_array as $var ) {
31  var_dump(get_cfg_var( $var  ) );
32}
33?>
34--EXPECT--
35*** Test substituting argument 1 with unknown string values ***
36bool(false)
37bool(false)
38bool(false)
39bool(false)
40