/PHP-5.3/ext/standard/tests/file/ |
H A D | parse_ini_file_error.phpt | 2 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 D | parse_ini_file_variation4.phpt | 2 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 D | parse_ini_file_variation1.phpt | 2 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 D | parse_ini_file_variation6.phpt | 2 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 D | parse_ini_file_variation6-win32.phpt | 2 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 D | parse_ini_file_variation5.phpt | 2 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 D | parse_ini_file_variation2.phpt | 2 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 D | parse_ini_file_variation3.phpt | 2 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 D | bug46347.phpt | 2 Bug #46347 (parse_ini_file() doesn't support * in keys) 14 var_dump(parse_ini_file($file));
|
H A D | parse_ini_file.phpt | 2 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 ***
|
H A D | bug63512.phpt | 2 Fixed bug #63512 (parse_ini_file() with INI_SCANNER_RAW removes quotes from value).
|
/PHP-5.3/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-5.3/ext/standard/tests/general_functions/ |
H A D | parse_ini_file.phpt | 2 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 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-5.3/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);
|
/PHP-5.3/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)
|