Searched refs:parse_ini_file (Results 1 – 25 of 34) sorted by relevance
12
/PHP-8.2/tests/security/ |
H A D | open_basedir_parse_ini_file.phpt | 14 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.2/ext/standard/tests/file/ |
H A D | parse_ini_file_error.phpt | 2 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 D | parse_ini_file_variation6.phpt | 2 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 D | parse_ini_file_variation1.phpt | 2 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 D | parse_ini_file_variation6-win32-mb.phpt | 2 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 D | parse_ini_file_variation6-win32.phpt | 2 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 D | parse_ini_file_variation2.phpt | 2 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 D | parse_ini_file_variation3.phpt | 2 Test parse_ini_file() function : variation: include path searching 7 echo "*** Testing parse_ini_file() : variation ***\n"; 45 var_dump(parse_ini_file($iniFile)); 69 *** Testing parse_ini_file() : variation ***
|
H A D | bug46347.phpt | 2 Bug #46347 (parse_ini_file() doesn't support * in keys) 14 var_dump(parse_ini_file($file));
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | parse_ini_file.phpt | 2 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 D | bug41445.phpt | 2 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 D | bug40752.phpt | 2 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 D | bug41445_1.phpt | 2 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 D | bug44461.phpt | 2 Bug #44461 (parse_ini_file crashes) 10 parse_ini_file(__DIR__ . 'bug44461.ini', true);
|
H A D | bug49692.phpt | 2 Bug #49692: parse_ini_file() throws errors when key contains '/' (forward slash) 8 var_dump(parse_ini_file('bug49692.ini', true));
|
H A D | bug48768.phpt | 17 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 D | parse_ini_booleans.phpt | 2 parse_ini_file() boolean operators 8 var_dump(parse_ini_file($ini_file, 1));
|
H A D | bug48660.phpt | 22 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 D | bug52138.phpt | 11 $ret = parse_ini_file($ini_file, true);
|
/PHP-8.2/Zend/tests/ |
H A D | bug52508.phpt | 2 Bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW) 10 $ini_array = parse_ini_file($file, true, INI_SCANNER_RAW);
|
H A D | bug61087.phpt | 2 Bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode) 7 parse_ini_file(__FILE__, false, 100);
|
H A D | bug74603.phpt | 5 var_dump(parse_ini_file(__DIR__ . "/bug74603.ini", true, INI_SCANNER_NORMAL));
|
H A D | bug69551.phpt | 2 Bug #69551 - parse_ini_file() and parse_ini_string() segmentation fault
|
H A D | bug70748.phpt | 11 var_dump(parse_ini_file($ini_file));
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | bug51899.phpt | 2 Bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
|
Completed in 29 milliseconds
12