Home
last modified time | relevance | path

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

12

/PHP-8.0/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-8.0/ext/standard/tests/file/
H A Dparse_ini_file_error.phpt2 Test parse_ini_file() function : error conditions
5 echo "*** Testing parse_ini_file() : error conditions ***\n";
7 //Test parse_ini_file with one more than the expected number of arguments
8 echo "\n-- Testing parse_ini_file() function with more than expected no. of arguments --\n";
12 var_dump( parse_ini_file($filename, $process_sections, $extra_arg) );
14 echo "\n-- Testing parse_ini_file() function with a non-existent file --\n";
16 var_dump( parse_ini_file($filename, $process_sections) );
21 *** Testing parse_ini_file() : error conditions ***
23 -- Testing parse_ini_file() function with more than expected no. of arguments --
25 Warning: parse_ini_file(%s): Failed to open stream: No such file or directory in %s on line %d
[all …]
H A Dparse_ini_file_variation1.phpt2 Test parse_ini_file() function : variation: identical properties and values are not referenced.
7 echo "*** Testing parse_ini_file() : variation ***\n";
20 $a = parse_ini_file($output_file, true);
28 *** Testing parse_ini_file() : variation ***
H A Dparse_ini_file_variation6.phpt2 Test parse_ini_file() function : variation - various absolute and relative paths
7 echo "*** Testing parse_ini_file() : variation ***\n";
47 var_dump(parse_ini_file($dir."/".$filename));
58 *** Testing parse_ini_file() : variation ***
86 Warning: parse_ini_file(%sparseIniFileVar6.dir/parseIniFileVar6Sub/..///parseIniFileVar6Sub//..//..…
91 Warning: parse_ini_file(%sparseIniFileVar6.dir/parseIniFileVar6Sub/BADDIR/ParseIniFileVar6.ini): Fa…
120 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 echo "*** Testing parse_ini_file() : variation ***\n";
55 var_dump(parse_ini_file($dir."\\".$filename));
66 *** Testing parse_ini_file() : variation ***
94 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\..\\\parse…
99 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\BADDIR\par…
128 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 echo "*** Testing parse_ini_file() : variation ***\n";
55 var_dump(parse_ini_file($dir."\\".$filename));
66 *** Testing parse_ini_file() : variation ***
94 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\..\\\parseIniFileVar6Sub\\..\\..…
99 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\BADDIR\ParseIniFileVar6.ini): Fa…
128 Warning: parse_ini_file(BADDIR\ParseIniFileVar6.ini): Failed to open stream: No such file or direct…
H A Dparse_ini_file_variation2.phpt2 Test parse_ini_file() function : variation: handling different boolean values
7 echo "*** Testing parse_ini_file() : variation ***\n";
40 $a = parse_ini_file($output_file, true);
45 *** 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_variation3.phpt2 Test parse_ini_file() function : variation: include path searching
7 echo "*** Testing parse_ini_file() : variation ***\n";
46 var_dump(parse_ini_file($iniFile));
70 *** Testing parse_ini_file() : variation ***
/PHP-8.0/ext/standard/tests/general_functions/
H A Dparse_ini_file.phpt2 parse_ini_file() multiple calls
6 $filename = __DIR__."/parse_ini_file.dat";
9 var_dump(parse_ini_file($filename));
10 var_dump(parse_ini_file($filename, true));
16 var_dump(parse_ini_file($filename));
21 var_dump(parse_ini_file($filename));
27 var_dump(parse_ini_file($filename));
34 var_dump(parse_ini_file($filename));
41 var_dump(parse_ini_file($filename));
48 var_dump(parse_ini_file($filename, true));
[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));
H A Dbug52138.phpt11 $ret = parse_ini_file($ini_file, true);
/PHP-8.0/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.phpt5 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
H A Dbug70748.phpt11 var_dump(parse_ini_file($ini_file));
/PHP-8.0/ext/standard/tests/strings/
H A Dbug51899.phpt2 Bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)

Completed in 28 milliseconds

12