Home
last modified time | relevance | path

Searched refs:parse_ini_file (Results 1 – 25 of 35) sorted by relevance

12

/PHP-7.2/ext/standard/tests/file/
H A Dparse_ini_file_error.phpt2 Test parse_ini_file() function : error conditions
11 echo "*** Testing parse_ini_file() : error conditions ***\n";
14 echo "\n-- Testing parse_ini_file() function with Zero arguments --\n";
15 var_dump( parse_ini_file() );
17 //Test parse_ini_file with one more than the expected number of arguments
22 var_dump( parse_ini_file($filename, $process_sections, $extra_arg) );
24 echo "\n-- Testing parse_ini_file() function with a non-existent file --\n";
26 var_dump( parse_ini_file($filename, $process_sections) );
31 *** Testing parse_ini_file() : error conditions ***
33 -- Testing parse_ini_file() function with Zero arguments --
[all …]
H A Dparse_ini_file_variation4.phpt2 Test parse_ini_file() function : usage variation
13 echo "*** Testing parse_ini_file() : usage variation ***\n";
103 var_dump( parse_ini_file($value, $process_sections) );
109 *** Testing parse_ini_file() : usage variation ***
164 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
168 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
176 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
184 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
188 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
192 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d)
[all …]
H A Dparse_ini_file_variation1.phpt2 Test parse_ini_file() function : variation: identical properties and values are not referenced.
7 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
13 echo "*** Testing parse_ini_file() : variation ***\n";
26 $a = parse_ini_file($output_file, true);
35 *** Testing parse_ini_file() : variation ***
H A Dparse_ini_file_variation6.phpt2 Test parse_ini_file() function : variation - various absolute and relative paths
7 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
13 echo "*** Testing parse_ini_file() : variation ***\n";
53 var_dump(parse_ini_file($dir."/".$filename));
64 *** Testing parse_ini_file() : variation ***
92 Warning: parse_ini_file(%sparseIniFileVar6.dir/parseIniFileVar6Sub/..///parseIniFileVar6Sub//..//..…
97 Warning: parse_ini_file(%sparseIniFileVar6.dir/parseIniFileVar6Sub/BADDIR/ParseIniFileVar6.ini): fa…
126 Warning: parse_ini_file(BADDIR/ParseIniFileVar6.ini): failed to open stream: No such file or direct…
H A Dparse_ini_file_variation6-win32-mb.phpt2 Test parse_ini_file() function : variation - various absolute and relative paths
12 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
18 echo "*** Testing parse_ini_file() : variation ***\n";
61 var_dump(parse_ini_file($dir."\\".$filename));
72 *** Testing parse_ini_file() : variation ***
100 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\..\\\parse…
105 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\BADDIR\par…
134 Warning: parse_ini_file(BADDIR\parseIniFileVar私はガラスを食べられます.ini): failed to open stream: No such fil…
H A Dparse_ini_file_variation6-win32.phpt2 Test parse_ini_file() function : variation - various absolute and relative paths
12 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
18 echo "*** Testing parse_ini_file() : variation ***\n";
61 var_dump(parse_ini_file($dir."\\".$filename));
72 *** Testing parse_ini_file() : variation ***
100 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\..\\\parseIniFileVar6Sub\\..\\..…
105 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\BADDIR\ParseIniFileVar6.ini): fa…
134 Warning: parse_ini_file(BADDIR\ParseIniFileVar6.ini): failed to open stream: No such file or direct…
H A Dparse_ini_file_variation5.phpt2 Test parse_ini_file() function : usage variation
7 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
13 echo "*** Testing parse_ini_file() : usage variation ***\n";
107 var_dump( parse_ini_file($filename, $value) );
114 *** Testing parse_ini_file() : usage variation ***
171 Error: 2 - parse_ini_file() expects parameter 2 to be boolean, array given, %s(%d)
175 Error: 2 - parse_ini_file() expects parameter 2 to be boolean, array given, %s(%d)
179 Error: 2 - parse_ini_file() expects parameter 2 to be boolean, array given, %s(%d)
183 Error: 2 - parse_ini_file() expects parameter 2 to be boolean, array given, %s(%d)
235 Error: 2 - parse_ini_file() expects parameter 2 to be boolean, object given, %s(%d)
[all …]
H A Dparse_ini_file_variation2.phpt2 Test parse_ini_file() function : variation: handling different boolean values
7 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
13 echo "*** Testing parse_ini_file() : variation ***\n";
46 $a = parse_ini_file($output_file, true);
52 *** Testing parse_ini_file() : variation ***
H A Dparse_ini_file_variation3.phpt2 Test parse_ini_file() function : variation: include path searching
7 /* Prototype : array parse_ini_file(string filename [, bool process_sections])
13 echo "*** Testing parse_ini_file() : variation ***\n";
53 var_dump(parse_ini_file($iniFile));
78 *** Testing parse_ini_file() : variation ***
H A Dbug46347.phpt2 Bug #46347 (parse_ini_file() doesn't support * in keys)
14 var_dump(parse_ini_file($file));
H A Dparse_ini_file.phpt2 Test parse_ini_file() function
5 /* Prototype: array parse_ini_file(string $filename [,bool $process_sections]);
6 Description: parse_ini_file() loads in the ini file specified in filename,
204 echo "*** Test parse_ini_file() function: with various keys and values given in parse.ini file ***…
207 $ini_array = parse_ini_file($file_path."/parse.ini");
211 $ini_array = parse_ini_file($file_path."/parse.ini", TRUE);
221 *** Test parse_ini_file() function: with various keys and values given in parse.ini file ***
/PHP-7.2/tests/security/
H A Dopen_basedir_parse_ini_file.phpt14 test_open_basedir_before("parse_ini_file");
17 var_dump(parse_ini_file("../bad"));
18 var_dump(parse_ini_file("../bad/bad.txt"));
19 var_dump(parse_ini_file(".."));
20 var_dump(parse_ini_file("../"));
21 var_dump(parse_ini_file("../bad/."));
22 var_dump(parse_ini_file("../bad/./bad.txt"));
23 var_dump(parse_ini_file("./../."));
25 test_open_basedir_after("parse_ini_file");
33 *** Testing open_basedir configuration [parse_ini_file] ***
[all …]
/PHP-7.2/ext/standard/tests/general_functions/
H A Dparse_ini_file.phpt2 parse_ini_file() multiple calls
11 var_dump(parse_ini_file());
12 var_dump(parse_ini_file(1,1,1,1));
13 var_dump(parse_ini_file($filename));
14 var_dump(parse_ini_file($filename, true));
20 var_dump(parse_ini_file($filename));
25 var_dump(parse_ini_file($filename));
31 var_dump(parse_ini_file($filename));
38 var_dump(parse_ini_file($filename));
45 var_dump(parse_ini_file($filename));
[all …]
H A Dbug41445.phpt2 Bug #41445 (parse_ini_file() function parses octal numbers in section names)
18 var_dump(parse_ini_file($file, TRUE));
19 var_dump(parse_ini_file($file));
31 var_dump(parse_ini_file($file, TRUE));
32 var_dump(parse_ini_file($file));
H A Dbug40752.phpt2 Bug #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array)
12 var_dump(parse_ini_file($file));
19 var_dump(parse_ini_file($file));
H A Dbug41445_1.phpt2 Bug #41445 (parse_ini_file() function parses octal numbers in section names) - 2
21 var_dump(parse_ini_file($file, TRUE));
22 var_dump(parse_ini_file($file));
H A Dbug44461.phpt2 Bug #44461 (parse_ini_file crashes)
10 parse_ini_file(__DIR__ . 'bug44461.ini', true);
H A Dbug49692.phpt2 Bug #49692: parse_ini_file() throws errors when key contains '/' (forward slash)
8 var_dump(parse_ini_file('bug49692.ini', true));
H A Dbug48768.phpt17 var_dump(parse_ini_file($ini_location, false, INI_SCANNER_RAW));
18 var_dump(parse_ini_file($ini_location, false, INI_SCANNER_NORMAL));
H A Dparse_ini_booleans.phpt2 parse_ini_file() boolean operators
8 var_dump(parse_ini_file($ini_file, 1));
H A Dbug48660.phpt22 var_dump(parse_ini_file($ini_location, true, INI_SCANNER_RAW));
23 var_dump(parse_ini_file($ini_location, true, INI_SCANNER_NORMAL));
/PHP-7.2/Zend/tests/
H A Dbug52508.phpt2 Bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
10 $ini_array = parse_ini_file($file, true, INI_SCANNER_RAW);
H A Dbug61087.phpt2 Bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
7 parse_ini_file(__FILE__, false, 100);
H A Dbug74603.phpt9 var_dump(parse_ini_file(__DIR__ . "/bug74603.ini", true, INI_SCANNER_NORMAL));
H A Dbug69551.phpt2 Bug #69551 - parse_ini_file() and parse_ini_string() segmentation fault

Completed in 47 milliseconds

12